| /openbsd-src/regress/lib/libm/msun/ |
| H A D | fma_test.c | 63 #define testall(x, y, z, result, exceptmask, excepts) do { \ macro 94 testall(0.0, 0.0, 0.0, 0.0, ALL_STD_EXCEPT, 0); in test_zeroes() 95 testall(1.0, 0.0, 0.0, 0.0, ALL_STD_EXCEPT, 0); in test_zeroes() 96 testall(0.0, 1.0, 0.0, 0.0, ALL_STD_EXCEPT, 0); in test_zeroes() 97 testall(0.0, 0.0, 1.0, 1.0, ALL_STD_EXCEPT, 0); in test_zeroes() 99 testall(-0.0, 0.0, 0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0); in test_zeroes() 100 testall(0.0, -0.0, 0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0); in test_zeroes() 101 testall(-0.0, -0.0, 0.0, 0.0, ALL_STD_EXCEPT, 0); in test_zeroes() 102 testall(0.0, 0.0, -0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0); in test_zeroes() 103 testall(-0.0, -0.0, -0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0); in test_zeroes() [all …]
|
| H A D | invctrig_test.c | 90 #define testall(func, x, result, exceptmask, excepts, checksign) do { \ macro 95 testall(func, x, result, exceptmask, excepts, checksign); \ 96 testall(func, -(x), -result, exceptmask, excepts, checksign); \ 99 testall(func, x, result, exceptmask, excepts, checksign); \ 100 testall(func, -(x), result, exceptmask, excepts, checksign); \ 165 testall(cacosh, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY() 166 testall(cacos, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY() 167 testall(casinh, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY() 168 testall(casin, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY() 169 testall(catanh, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY() [all …]
|
| H A D | cexp_test.c | 87 #define testall(x, result, exceptmask, excepts, checksign) do { \ macro 113 testall(0.0, 1.0, ALL_STD_EXCEPT, 0, 1); in ATF_TC_BODY() 114 testall(-0.0, 1.0, ALL_STD_EXCEPT, 0, 1); in ATF_TC_BODY() 115 testall(CMPLXL(0.0, -0.0), CMPLXL(1.0, -0.0), ALL_STD_EXCEPT, 0, 1); in ATF_TC_BODY() 116 testall(CMPLXL(-0.0, -0.0), CMPLXL(1.0, -0.0), ALL_STD_EXCEPT, 0, 1); in ATF_TC_BODY() 131 testall(CMPLXL(finites[i], NAN), CMPLXL(NAN, NAN), in ATF_TC_BODY() 137 testall(CMPLXL(NAN, finites[i]), CMPLXL(NAN, NAN), in ATF_TC_BODY() 140 testall(CMPLXL(NAN, finites[i]), CMPLXL(NAN, NAN), in ATF_TC_BODY() 146 testall(CMPLXL(NAN, 0.0), CMPLXL(NAN, 0.0), ALL_STD_EXCEPT, 0, 1); in ATF_TC_BODY() 147 testall(CMPLXL(NAN, -0.0), CMPLXL(NAN, -0.0), ALL_STD_EXCEPT, 0, 1); in ATF_TC_BODY() [all …]
|
| H A D | trig_test.c | 71 #define testall(prefix, x, result, exceptmask, excepts) do { \ macro 93 testall(tan, 0.0, 0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 94 testall(tan, -0.0, -0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 95 testall(cos, 0.0, 1.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 96 testall(cos, -0.0, 1.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 97 testall(sin, 0.0, 0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 98 testall(sin, -0.0, -0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 101 testall(tan, INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID); in ATF_TC_BODY() 102 testall(sin, INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID); in ATF_TC_BODY() 103 testall(cos, INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID); in ATF_TC_BODY() [all …]
|
| H A D | lrint_test.c | 49 #define testall(x, result, excepts) do { \ macro 66 testall(0.75, 0, FE_INEXACT); in run_tests() 67 testall(-0.5, -1, FE_INEXACT); in run_tests() 70 testall(0.0, 0, 0); in run_tests() 71 testall(0.25, 0, FE_INEXACT); in run_tests() 72 testall(0.5, 0, FE_INEXACT); in run_tests() 73 testall(-2.5, -2, FE_INEXACT); in run_tests() 74 testall(1.0, 1, 0); in run_tests() 75 testall(0x12345000p0, 0x12345000, 0); in run_tests() 76 testall(0x1234.fp0, 0x1235, FE_INEXACT); in run_tests() [all …]
|
| H A D | fmaxmin_test.c | 84 testall(long double big, long double small) in testall() function 100 testall(1.0, 0.0); in ATF_TC_BODY() 106 testall(42.0, nextafterf(42.0, -INFINITY)); in ATF_TC_BODY() 111 testall(nextafterf(42.0, INFINITY), 42.0); in ATF_TC_BODY() 117 testall(-5.0, -5.0); in ATF_TC_BODY() 123 testall(-3.0, -4.0); in ATF_TC_BODY() 129 testall(1.0, NAN); in ATF_TC_BODY() 134 testall(INFINITY, NAN); in ATF_TC_BODY() 140 testall(INFINITY, 1.0); in ATF_TC_BODY() 146 testall(-3.0, -INFINITY); in ATF_TC_BODY() [all …]
|
| H A D | lround_test.c | 58 #define testall(x, result, excepts) do { \ macro 70 testall(0.0, 0, 0); in ATF_TC_BODY() 71 testall(0.25, 0, FE_INEXACT); in ATF_TC_BODY() 72 testall(0.5, 1, FE_INEXACT); in ATF_TC_BODY() 73 testall(-0.5, -1, FE_INEXACT); in ATF_TC_BODY() 74 testall(1.0, 1, 0); in ATF_TC_BODY() 75 testall(0x12345000p0, 0x12345000, 0); in ATF_TC_BODY() 76 testall(0x1234.fp0, 0x1235, FE_INEXACT); in ATF_TC_BODY() 77 testall(INFINITY, IGNORE, FE_INVALID); in ATF_TC_BODY() 78 testall(NAN, IGNORE, FE_INVALID); in ATF_TC_BODY()
|
| H A D | invtrig_test.c | 81 #define testall(prefix, x, result, excepts) \ macro 131 testall(asin, 0.0, 0.0, 0); in ATF_TC_BODY() 132 testall(acos, 0.0, pi / 2, FE_INEXACT); in ATF_TC_BODY() 133 testall(atan, 0.0, 0.0, 0); in ATF_TC_BODY() 134 testall(asin, -0.0, -0.0, 0); in ATF_TC_BODY() 135 testall(acos, -0.0, pi / 2, FE_INEXACT); in ATF_TC_BODY() 136 testall(atan, -0.0, -0.0, 0); in ATF_TC_BODY() 138 testall(asin, INFINITY, NAN, FE_INVALID); in ATF_TC_BODY() 139 testall(acos, INFINITY, NAN, FE_INVALID); in ATF_TC_BODY() 140 testall(atan, INFINITY, pi / 2, FE_INEXACT); in ATF_TC_BODY() [all …]
|
| H A D | next_test.c | 65 #define testall(arg1, arg2, ans, ex) do { \ macro 133 testall(42.0, 42.0, 42.0, 0); in ATF_TC_BODY() 134 testall(-42.0, -42.0, -42.0, 0); in ATF_TC_BODY() 135 testall(INFINITY, INFINITY, INFINITY, 0); in ATF_TC_BODY() 136 testall(-INFINITY, -INFINITY, -INFINITY, 0); in ATF_TC_BODY() 137 testall(NAN, 42.0, NAN, 0); in ATF_TC_BODY() 138 testall(42.0, NAN, NAN, 0); in ATF_TC_BODY() 139 testall(NAN, NAN, NAN, 0); in ATF_TC_BODY()
|
| H A D | ctrig_test.c | 102 #define testall(func, x, result, exceptmask, excepts, checksign) do { \ macro 107 testall(func, x, result, exceptmask, excepts, checksign); \ 108 testall(func, -x, -result, exceptmask, excepts, checksign); \ 111 testall(func, x, result, exceptmask, excepts, checksign); \ 112 testall(func, -x, result, exceptmask, excepts, checksign); \
|
| /openbsd-src/usr.sbin/bgpd/ |
| H A D | rde_decide.c | 120 prefix_cmp(struct prefix *p1, struct prefix *p2, int *testall) in prefix_cmp() argument 134 * matters for strict MED evaluation and in that case testall in prefix_cmp() 136 * itself testall is set to 2. in prefix_cmp() 138 *testall = 0; in prefix_cmp() 181 * set the testall flag since further elements need to be in prefix_cmp() 187 *testall = 2; in prefix_cmp() 196 *testall = 1; in prefix_cmp() 308 int testall; in prefix_set_dmetric() local 315 np->dmetric = prefix_cmp(pp, np, &testall); in prefix_set_dmetric() 337 int testall, preferre in prefix_insert() local 429 int testall, removed = 0; prefix_remove() local [all...] |
| /openbsd-src/gnu/lib/libstdc++/libstdc++/testsuite/26_numerics/ |
| H A D | complex_inserters_extractors.cc | 72 testall() in testall() function 137 testall<float>(); in main() 138 testall<double>(); in main() 139 testall<long double>(); in main()
|
| /openbsd-src/regress/lib/libpthread/ |
| H A D | Makefile | 35 .PHONY: testall 36 testall: target
|
| /openbsd-src/gnu/lib/libstdc++/libstdc++/ |
| H A D | ChangeLog-2000 | 2999 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
|