#include <apitest.h>
#include <float.h>
#include <math.h>
Go to the source code of this file.
◆ START_TEST()
◆ test_finite()
Definition at line 20 of file ieee.c.
24 tested.
l = 0xFFFFFFFFFFFFFFFF
LL;
26 tested.
l = 0xFFF8000000000001
LL;
28 tested.
l = 0xFFF8000000000000
LL;
30 tested.
l = 0xFFF7FFFFFFFFFFFF
LL;
32 tested.
l = 0xFFF0000000000001
LL;
34 tested.
l = 0xFFF0000000000000
LL;
36 tested.
l = 0xFFEFFFFFFFFFFFFF
LL;
38 tested.
l = 0x8010000000000000
LL;
40 tested.
l = 0x800FFFFFFFFFFFFF
LL;
42 tested.
l = 0x8000000000000001
LL;
44 tested.
l = 0x8000000000000000
LL;
46 tested.
l = 0x0000000000000000
LL;
48 tested.
l = 0x0000000000000001
LL;
50 tested.
l = 0x000FFFFFFFFFFFFF
LL;
52 tested.
l = 0x0010000000000000
LL;
54 tested.
l = 0x7FEFFFFFFFFFFFFF
LL;
56 tested.
l = 0x7FF0000000000000
LL;
58 tested.
l = 0x7FF0000000000001
LL;
60 tested.
l = 0x7FF7FFFFFFFFFFFF
LL;
62 tested.
l = 0x7FF8000000000000
LL;
64 tested.
l = 0x7FFFFFFFFFFFFFFF
LL;
_Check_return_ __MINGW_NOTHROW _CRTIMP int __cdecl _finite(_In_ double)
Referenced by START_TEST().
◆ test_fpclass()
Definition at line 71 of file ieee.c.
76 tested.
l = 0xFFFFFFFFFFFFFFFF
LL;
79 tested.
l = 0xFFF8000000000001
LL;
82 tested.
l = 0xFFF8000000000000
LL;
88 tested.
l = 0xFFF7FFFFFFFFFFFF
LL;
95 tested.
l = 0xFFF0000000000001
LL;
102 tested.
l = 0xFFF0000000000000
LL;
105 tested.
l = 0xFFEFFFFFFFFFFFFF
LL;
108 tested.
l = 0x8010000000000000
LL;
111 tested.
l = 0x800FFFFFFFFFFFFF
LL;
114 tested.
l = 0x8000000000000001
LL;
117 tested.
l = 0x8000000000000000
LL;
120 tested.
l = 0x0000000000000000
LL;
123 tested.
l = 0x0000000000000001
LL;
126 tested.
l = 0x000FFFFFFFFFFFFF
LL;
129 tested.
l = 0x0010000000000000
LL;
132 tested.
l = 0x7FEFFFFFFFFFFFFF
LL;
135 tested.
l = 0x7FF0000000000000
LL;
138 tested.
l = 0x7FF0000000000001
LL;
145 tested.
l = 0x7FF7FFFFFFFFFFFF
LL;
152 tested.
l = 0x7FF8000000000000
LL;
155 tested.
l = 0x7FFFFFFFFFFFFFFF
LL;
_Check_return_ __MINGW_NOTHROW _CRTIMP int __cdecl _fpclass(_In_ double)
Referenced by START_TEST().
◆ test_isnan()
Definition at line 164 of file ieee.c.
168 tested.
l = 0xFFFFFFFFFFFFFFFF
LL;
170 tested.
l = 0xFFF8000000000001
LL;
172 tested.
l = 0xFFF8000000000000
LL;
174 tested.
l = 0xFFF7FFFFFFFFFFFF
LL;
176 tested.
l = 0xFFF0000000000001
LL;
178 tested.
l = 0xFFF0000000000000
LL;
180 tested.
l = 0xFFEFFFFFFFFFFFFF
LL;
182 tested.
l = 0x8010000000000000
LL;
184 tested.
l = 0x800FFFFFFFFFFFFF
LL;
186 tested.
l = 0x8000000000000001
LL;
188 tested.
l = 0x8000000000000000
LL;
190 tested.
l = 0x0000000000000000
LL;
192 tested.
l = 0x0000000000000001
LL;
194 tested.
l = 0x000FFFFFFFFFFFFF
LL;
196 tested.
l = 0x0010000000000000
LL;
198 tested.
l = 0x7FEFFFFFFFFFFFFF
LL;
200 tested.
l = 0x7FF0000000000000
LL;
202 tested.
l = 0x7FF0000000000001
LL;
204 tested.
l = 0x7FF7FFFFFFFFFFFF
LL;
206 tested.
l = 0x7FF8000000000000
LL;
208 tested.
l = 0x7FFFFFFFFFFFFFFF
LL;
_Check_return_ __MINGW_NOTHROW _CRTIMP int __cdecl _isnan(_In_ double)
Referenced by START_TEST().
◆ test_j0()
Definition at line 215 of file ieee.c.
224 tested.
l = 0xFFFFFFFFFFFFFFFF
LL;
230 tested.
l = 0xFFF8000000000001
LL;
236 tested.
l = 0xFFF8000000000000
LL;
242 tested.
l = 0xFFF7FFFFFFFFFFFF
LL;
248 tested.
l = 0xFFF0000000000001
LL;
254 tested.
l = 0xFFF0000000000000
LL;
260 tested.
l = 0xFFEFFFFFFFFFFFFF
LL;
266 tested.
l = 0x8010000000000000
LL;
272 tested.
l = 0x800FFFFFFFFFFFFF
LL;
278 tested.
l = 0x8000000000000001
LL;
284 tested.
l = 0x8000000000000000
LL;
290 tested.
l = 0x0000000000000000
LL;
296 tested.
l = 0x0000000000000001
LL;
302 tested.
l = 0x000FFFFFFFFFFFFF
LL;
308 tested.
l = 0x0010000000000000
LL;
314 tested.
l = 0x7FEFFFFFFFFFFFFF
LL;
320 tested.
l = 0x7FF0000000000000
LL;
326 tested.
l = 0x7FF0000000000001
LL;
332 tested.
l = 0x7FF7FFFFFFFFFFFF
LL;
338 tested.
l = 0x7FF8000000000000
LL;
344 tested.
l = 0x7FFFFFFFFFFFFFFF
LL;
_Check_return_ _CRTIMP double __cdecl _j0(_In_ double x)
Referenced by START_TEST().
◆ test_j1()
Definition at line 359 of file ieee.c.
368 tested.
l = 0xFFFFFFFFFFFFFFFF
LL;
374 tested.
l = 0xFFF8000000000001
LL;
380 tested.
l = 0xFFF8000000000000
LL;
386 tested.
l = 0xFFF7FFFFFFFFFFFF
LL;
392 tested.
l = 0xFFF0000000000001
LL;
398 tested.
l = 0xFFF0000000000000
LL;
404 tested.
l = 0xFFEFFFFFFFFFFFFF
LL;
410 tested.
l = 0x8010000000000000
LL;
416 tested.
l = 0x800FFFFFFFFFFFFF
LL;
422 tested.
l = 0x8000000000000001
LL;
428 tested.
l = 0x8000000000000000
LL;
434 tested.
l = 0x0000000000000000
LL;
440 tested.
l = 0x0000000000000001
LL;
446 tested.
l = 0x000FFFFFFFFFFFFF
LL;
452 tested.
l = 0x0010000000000000
LL;
458 tested.
l = 0x7FEFFFFFFFFFFFFF
LL;
464 tested.
l = 0x7FF0000000000000
LL;
470 tested.
l = 0x7FF0000000000001
LL;
476 tested.
l = 0x7FF7FFFFFFFFFFFF
LL;
482 tested.
l = 0x7FF8000000000000
LL;
488 tested.
l = 0x7FFFFFFFFFFFFFFF
LL;
_Check_return_ _CRTIMP double __cdecl _j1(_In_ double x)
Referenced by START_TEST().
◆ test_scalb()
Definition at line 503 of file ieee.c.
512 tested.
l = 0xFFFFFFFFFFFFFFFF
LL;
518 tested.
l = 0xFFF8000000000001
LL;
524 tested.
l = 0xFFF8000000000000
LL;
530 tested.
l = 0xFFF7FFFFFFFFFFFF
LL;
536 tested.
l = 0xFFF0000000000001
LL;
542 tested.
l = 0xFFF0000000000000
LL;
548 tested.
l = 0xFFEFFFFFFFFFFFFF
LL;
554 tested.
l = 0x8010000000000000
LL;
560 tested.
l = 0x800FFFFFFFFFFFFF
LL;
566 tested.
l = 0x8000000000000001
LL;
572 tested.
l = 0x8000000000000000
LL;
578 tested.
l = 0x0000000000000000
LL;
584 tested.
l = 0x0000000000000001
LL;
590 tested.
l = 0x000FFFFFFFFFFFFF
LL;
596 tested.
l = 0x0010000000000000
LL;
602 tested.
l = 0x7FEFFFFFFFFFFFFF
LL;
608 tested.
l = 0x7FF0000000000000
LL;
614 tested.
l = 0x7FF0000000000001
LL;
620 tested.
l = 0x7FF7FFFFFFFFFFFF
LL;
626 tested.
l = 0x7FF8000000000000
LL;
632 tested.
l = 0x7FFFFFFFFFFFFFFF
LL;
_Check_return_ __MINGW_NOTHROW _CRTIMP double __cdecl _scalb(_In_ double, _In_ long)
Referenced by START_TEST().
◆ test_y0()
Definition at line 647 of file ieee.c.
656 tested.
l = 0xFFFFFFFFFFFFFFFF
LL;
662 tested.
l = 0xFFF8000000000001
LL;
668 tested.
l = 0xFFF8000000000000
LL;
674 tested.
l = 0xFFF7FFFFFFFFFFFF
LL;
680 tested.
l = 0xFFF0000000000001
LL;
686 tested.
l = 0xFFF0000000000000
LL;
692 tested.
l = 0xFFEFFFFFFFFFFFFF
LL;
698 tested.
l = 0x8010000000000000
LL;
704 tested.
l = 0x800FFFFFFFFFFFFF
LL;
710 tested.
l = 0x8000000000000001
LL;
716 tested.
l = 0x8000000000000000
LL;
722 tested.
l = 0x0000000000000000
LL;
728 tested.
l = 0x0000000000000001
LL;
734 tested.
l = 0x000FFFFFFFFFFFFF
LL;
740 tested.
l = 0x0010000000000000
LL;
746 tested.
l = 0x7FEFFFFFFFFFFFFF
LL;
752 tested.
l = 0x7FF0000000000000
LL;
758 tested.
l = 0x7FF0000000000001
LL;
764 tested.
l = 0x7FF7FFFFFFFFFFFF
LL;
770 tested.
l = 0x7FF8000000000000
LL;
776 tested.
l = 0x7FFFFFFFFFFFFFFF
LL;
_Check_return_ _CRTIMP double __cdecl _y0(_In_ double x)
Referenced by START_TEST().
◆ test_y1()
Definition at line 791 of file ieee.c.
800 tested.
l = 0xFFFFFFFFFFFFFFFF
LL;
806 tested.
l = 0xFFF8000000000001
LL;
812 tested.
l = 0xFFF8000000000000
LL;
818 tested.
l = 0xFFF7FFFFFFFFFFFF
LL;
824 tested.
l = 0xFFF0000000000001
LL;
830 tested.
l = 0xFFF0000000000000
LL;
836 tested.
l = 0xFFEFFFFFFFFFFFFF
LL;
842 tested.
l = 0x8010000000000000
LL;
848 tested.
l = 0x800FFFFFFFFFFFFF
LL;
854 tested.
l = 0x8000000000000001
LL;
860 tested.
l = 0x8000000000000000
LL;
866 tested.
l = 0x0000000000000000
LL;
872 tested.
l = 0x0000000000000001
LL;
878 tested.
l = 0x000FFFFFFFFFFFFF
LL;
884 tested.
l = 0x0010000000000000
LL;
890 tested.
l = 0x7FEFFFFFFFFFFFFF
LL;
896 tested.
l = 0x7FF0000000000000
LL;
902 tested.
l = 0x7FF0000000000001
LL;
908 tested.
l = 0x7FF7FFFFFFFFFFFF
LL;
914 tested.
l = 0x7FF8000000000000
LL;
920 tested.
l = 0x7FFFFFFFFFFFFFFF
LL;
_Check_return_ _CRTIMP double __cdecl _y1(_In_ double x)
Referenced by START_TEST().