Lines Matching refs:test
43 #define test(func, x, result, excepts) do { \ macro
54 test(lrint, x, result, excepts); \
55 test(lrintf, x, result, excepts); \
56 test(lrintl, x, result, excepts); \
57 test(llrint, x, result, excepts); \
58 test(llrintf, x, result, excepts); \
59 test(llrintl, x, result, excepts); \
86 test(lrint, 0x7fffffff.8p0, IGNORE, FE_INVALID); in run_tests()
87 test(lrint, -0x80000000.4p0, (long)-0x80000000l, FE_INEXACT); in run_tests()
90 test(lrint, -0x80000000.8p0, IGNORE, FE_INVALID); in run_tests()
91 test(lrint, 0x80000000.0p0, IGNORE, FE_INVALID); in run_tests()
92 test(lrint, 0x7fffffff.4p0, 0x7fffffffl, FE_INEXACT); in run_tests()
93 test(lrintf, 0x80000000.0p0f, IGNORE, FE_INVALID); in run_tests()
94 test(lrintf, 0x7fffff80.0p0f, 0x7fffff80l, 0); in run_tests()
97 test(lrint, 0x7fffffff.8p0, 0x7fffffffl, FE_INEXACT); in run_tests()
98 test(lrint, -0x80000000.8p0, -0x80000000l, FE_INEXACT); in run_tests()
99 test(lrint, 0x80000000.0p0, IGNORE, FE_INVALID); in run_tests()
100 test(lrintf, 0x80000000.0p0f, IGNORE, FE_INVALID); in run_tests()
101 test(lrintf, 0x7fffff80.0p0f, 0x7fffff80l, 0); in run_tests()
104 test(lrint, 0x8000000000000000.0p0, IGNORE, FE_INVALID); in run_tests()
105 test(lrintf, 0x8000000000000000.0p0f, IGNORE, FE_INVALID); in run_tests()
106 test(lrint, 0x7ffffffffffffc00.0p0, 0x7ffffffffffffc00l, 0); in run_tests()
107 test(lrintf, 0x7fffff8000000000.0p0f, 0x7fffff8000000000l, 0); in run_tests()
108 test(lrint, -0x8000000000000800.0p0, IGNORE, FE_INVALID); in run_tests()
109 test(lrintf, -0x8000010000000000.0p0f, IGNORE, FE_INVALID); in run_tests()
110 test(lrint, -0x8000000000000000.0p0, (long long)-0x8000000000000000ul, 0); in run_tests()
111 test(lrintf, -0x8000000000000000.0p0f, (long long)-0x8000000000000000ul, 0); in run_tests()
118 test(llrint, 0x8000000000000000.0p0, IGNORE, FE_INVALID); in run_tests()
119 test(llrintf, 0x8000000000000000.0p0f, IGNORE, FE_INVALID); in run_tests()
120 test(llrint, 0x7ffffffffffffc00.0p0, 0x7ffffffffffffc00ll, 0); in run_tests()
121 test(llrintf, 0x7fffff8000000000.0p0f, 0x7fffff8000000000ll, 0); in run_tests()
122 test(llrint, -0x8000000000000800.0p0, IGNORE, FE_INVALID); in run_tests()
123 test(llrintf, -0x8000010000000000.0p0f, IGNORE, FE_INVALID); in run_tests()
124 test(llrint, -0x8000000000000000.0p0, (long long)-0x8000000000000000ull, 0); in run_tests()
125 test(llrintf, -0x8000000000000000.0p0f, (long long)-0x8000000000000000ull, 0); in run_tests()