File tree 26 files changed +1033
-2
lines changed
26 files changed +1033
-2
lines changed Original file line number Diff line number Diff line change
1
+ #include <assert.h>
2
+ #include <math.h>
3
+
4
+ int main ()
5
+ {
6
+ double e = exp (1.0 );
7
+ assert (e > 2.713 && e < 2.886 );
8
+ return 0 ;
9
+ }
Original file line number Diff line number Diff line change
1
+ CORE
2
+ main.c
3
+ --float-overflow-check --nan-check
4
+ ^EXIT=0$
5
+ ^SIGNAL=0$
6
+ ^VERIFICATION SUCCESSFUL$
7
+ --
8
+ ^warning: ignoring
Original file line number Diff line number Diff line change
1
+ #include <assert.h>
2
+ #include <math.h>
3
+
4
+ int main ()
5
+ {
6
+ double two = exp2 (1.0 );
7
+ assert (two > 1.999 && two < 2.001 );
8
+ return 0 ;
9
+ }
Original file line number Diff line number Diff line change
1
+ CORE
2
+ main.c
3
+ --float-overflow-check --nan-check
4
+ ^EXIT=0$
5
+ ^SIGNAL=0$
6
+ ^VERIFICATION SUCCESSFUL$
7
+ --
8
+ ^warning: ignoring
Original file line number Diff line number Diff line change
1
+ #include <assert.h>
2
+ #include <math.h>
3
+
4
+ int main ()
5
+ {
6
+ float two = exp2f (1.0f );
7
+ assert (two > 1.999f && two < 2.001f );
8
+ return 0 ;
9
+ }
Original file line number Diff line number Diff line change
1
+ CORE
2
+ main.c
3
+ --float-overflow-check --nan-check
4
+ ^EXIT=0$
5
+ ^SIGNAL=0$
6
+ ^VERIFICATION SUCCESSFUL$
7
+ --
8
+ ^warning: ignoring
Original file line number Diff line number Diff line change
1
+ #include <assert.h>
2
+ #include <math.h>
3
+
4
+ int main ()
5
+ {
6
+ long double two = exp2l (1.0l );
7
+ assert (two > 1.999l && two < 2.001l );
8
+ return 0 ;
9
+ }
Original file line number Diff line number Diff line change
1
+ CORE
2
+ main.c
3
+ --float-overflow-check --nan-check
4
+ ^EXIT=0$
5
+ ^SIGNAL=0$
6
+ ^VERIFICATION SUCCESSFUL$
7
+ --
8
+ ^warning: ignoring
Original file line number Diff line number Diff line change
1
+ #include <assert.h>
2
+ #include <math.h>
3
+
4
+ int main ()
5
+ {
6
+ float e = expf (1.0f );
7
+ assert (e > 2.713f && e < 2.886f );
8
+ return 0 ;
9
+ }
Original file line number Diff line number Diff line change
1
+ CORE
2
+ main.c
3
+ --float-overflow-check --nan-check
4
+ ^EXIT=0$
5
+ ^SIGNAL=0$
6
+ ^VERIFICATION SUCCESSFUL$
7
+ --
8
+ ^warning: ignoring
Original file line number Diff line number Diff line change
1
+ #include <assert.h>
2
+ #include <math.h>
3
+
4
+ int main ()
5
+ {
6
+ long double e = expl (1.0l );
7
+ assert (e > 2.713l && e < 2.886l );
8
+ return 0 ;
9
+ }
Original file line number Diff line number Diff line change
1
+ CORE
2
+ main.c
3
+ --float-overflow-check --nan-check
4
+ ^EXIT=0$
5
+ ^SIGNAL=0$
6
+ ^VERIFICATION SUCCESSFUL$
7
+ --
8
+ ^warning: ignoring
Original file line number Diff line number Diff line change
1
+ #include <assert.h>
2
+ #ifdef _WIN32
3
+ # define _USE_MATH_DEFINES
4
+ #endif
5
+ #include <math.h>
6
+
7
+ int main ()
8
+ {
9
+ double one = log (M_E );
10
+ assert (one > 0.942 && one < 1.002 );
11
+ return 0 ;
12
+ }
Original file line number Diff line number Diff line change
1
+ CORE
2
+ main.c
3
+ --float-overflow-check --nan-check
4
+ ^EXIT=0$
5
+ ^SIGNAL=0$
6
+ ^VERIFICATION SUCCESSFUL$
7
+ --
8
+ ^warning: ignoring
Original file line number Diff line number Diff line change
1
+ #include <assert.h>
2
+ #ifdef _WIN32
3
+ # define _USE_MATH_DEFINES
4
+ #endif
5
+ #include <math.h>
6
+
7
+ int main ()
8
+ {
9
+ float one = logf (M_E );
10
+ assert (one > 0.942f && one < 1.002f );
11
+ return 0 ;
12
+ }
Original file line number Diff line number Diff line change
1
+ CORE
2
+ main.c
3
+ --float-overflow-check --nan-check
4
+ ^EXIT=0$
5
+ ^SIGNAL=0$
6
+ ^VERIFICATION SUCCESSFUL$
7
+ --
8
+ ^warning: ignoring
Original file line number Diff line number Diff line change
1
+ #include <assert.h>
2
+ #ifdef _WIN32
3
+ # define _USE_MATH_DEFINES
4
+ #endif
5
+ #include <math.h>
6
+
7
+ int main ()
8
+ {
9
+ long double one = logl (M_E );
10
+ assert (one > 0.942l && one < 1.002l );
11
+ return 0 ;
12
+ }
Original file line number Diff line number Diff line change
1
+ CORE
2
+ main.c
3
+ --float-overflow-check --nan-check
4
+ ^EXIT=0$
5
+ ^SIGNAL=0$
6
+ ^VERIFICATION SUCCESSFUL$
7
+ --
8
+ ^warning: ignoring
Original file line number Diff line number Diff line change
1
+ #include <assert.h>
2
+ #include <math.h>
3
+
4
+ int main ()
5
+ {
6
+ double four = pow (2.0 , 2.0 );
7
+ assert (four > 3.999 && four < 4.345 );
8
+ return 0 ;
9
+ }
Original file line number Diff line number Diff line change
1
+ CORE
2
+ main.c
3
+ --float-overflow-check --nan-check
4
+ ^EXIT=0$
5
+ ^SIGNAL=0$
6
+ ^VERIFICATION SUCCESSFUL$
7
+ --
8
+ ^warning: ignoring
Original file line number Diff line number Diff line change
1
+ #include <assert.h>
2
+ #include <math.h>
3
+
4
+ int main ()
5
+ {
6
+ float four = powf (2.0f , 2.0f );
7
+ assert (four > 3.999f && four < 4.345f );
8
+ return 0 ;
9
+ }
Original file line number Diff line number Diff line change
1
+ CORE
2
+ main.c
3
+ --float-overflow-check --nan-check
4
+ ^EXIT=0$
5
+ ^SIGNAL=0$
6
+ ^VERIFICATION SUCCESSFUL$
7
+ --
8
+ ^warning: ignoring
Original file line number Diff line number Diff line change
1
+ #include <assert.h>
2
+ #include <math.h>
3
+
4
+ int main ()
5
+ {
6
+ long double four = pow (2.0l , 2.0l );
7
+ assert (four > 3.999l && four < 4.345l );
8
+ return 0 ;
9
+ }
Original file line number Diff line number Diff line change
1
+ CORE
2
+ main.c
3
+ --float-overflow-check --nan-check
4
+ ^EXIT=0$
5
+ ^SIGNAL=0$
6
+ ^VERIFICATION SUCCESSFUL$
7
+ --
8
+ ^warning: ignoring
You can’t perform that action at this time.
0 commit comments