/freebsd/lib/msun/tests/ |
H A D | fma_test.c | 60 #define testall(x, y, z, result, exceptmask, excepts) do { \ macro 91 testall(0.0, 0.0, 0.0, 0.0, ALL_STD_EXCEPT, 0); in test_zeroes() 92 testall(1.0, 0.0, 0.0, 0.0, ALL_STD_EXCEPT, 0); in test_zeroes() 93 testall(0.0, 1.0, 0.0, 0.0, ALL_STD_EXCEPT, 0); in test_zeroes() 94 testall(0.0, 0.0, 1.0, 1.0, ALL_STD_EXCEPT, 0); in test_zeroes() 96 testall(-0.0, 0.0, 0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0); in test_zeroes() 97 testall(0.0, -0.0, 0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0); in test_zeroes() 98 testall(-0.0, -0.0, 0.0, 0.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() [all …]
|
H A D | invctrig_test.c | 87 #define testall(func, x, result, exceptmask, excepts, checksign) do { \ macro 92 testall(func, x, result, exceptmask, excepts, checksign); \ 93 testall(func, -(x), -result, exceptmask, excepts, checksign); \ 96 testall(func, x, result, exceptmask, excepts, checksign); \ 97 testall(func, -(x), result, exceptmask, excepts, checksign); \ 162 testall(cacosh, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY() 163 testall(cacos, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY() 164 testall(casinh, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY() 165 testall(casin, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY() 166 testall(catanh, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY() [all …]
|
H A D | cexp_test.c | 81 #define testall(x, result, exceptmask, excepts, checksign) do { \ macro 106 testall(0.0, 1.0, ALL_STD_EXCEPT, 0, 1); in ATF_TC_BODY() 107 testall(-0.0, 1.0, ALL_STD_EXCEPT, 0, 1); in ATF_TC_BODY() 108 testall(CMPLXL(0.0, -0.0), CMPLXL(1.0, -0.0), ALL_STD_EXCEPT, 0, 1); in ATF_TC_BODY() 109 testall(CMPLXL(-0.0, -0.0), CMPLXL(1.0, -0.0), ALL_STD_EXCEPT, 0, 1); in ATF_TC_BODY() 124 testall(CMPLXL(finites[i], NAN), CMPLXL(NAN, NAN), in ATF_TC_BODY() 129 testall(CMPLXL(NAN, finites[i]), CMPLXL(NAN, NAN), in ATF_TC_BODY() 134 testall(CMPLXL(NAN, 0.0), CMPLXL(NAN, 0.0), ALL_STD_EXCEPT, 0, 1); in ATF_TC_BODY() 135 testall(CMPLXL(NAN, -0.0), CMPLXL(NAN, -0.0), ALL_STD_EXCEPT, 0, 1); in ATF_TC_BODY() 138 testall(CMPLXL(INFINITY, NAN), CMPLXL(INFINITY, NAN), in ATF_TC_BODY() [all …]
|
H A D | trig_test.c | 68 #define testall(prefix, x, result, exceptmask, excepts) do { \ macro 90 testall(tan, 0.0, 0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 91 testall(tan, -0.0, -0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 92 testall(cos, 0.0, 1.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 93 testall(cos, -0.0, 1.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 94 testall(sin, 0.0, 0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 95 testall(sin, -0.0, -0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 98 testall(tan, INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID); in ATF_TC_BODY() 99 testall(sin, INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID); in ATF_TC_BODY() 100 testall(cos, INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID); in ATF_TC_BODY() [all …]
|
H A D | lrint_test.c | 53 #define testall(x, result, excepts) do { \ macro 70 testall(0.75, 0, FE_INEXACT); in run_tests() 71 testall(-0.5, -1, FE_INEXACT); in run_tests() 74 testall(0.0, 0, 0); in run_tests() 75 testall(0.25, 0, FE_INEXACT); in run_tests() 76 testall(0.5, 0, FE_INEXACT); in run_tests() 77 testall(-2.5, -2, FE_INEXACT); in run_tests() 78 testall(1.0, 1, 0); in run_tests() 79 testall(0x12345000p0, 0x12345000, 0); in run_tests() 80 testall(0x1234.fp0, 0x1235, FE_INEXACT); in run_tests() [all …]
|
H A D | fmaxmin_test.c | 82 testall(long double big, long double small) in testall() function 98 testall(1.0, 0.0); in ATF_TC_BODY() 104 testall(42.0, nextafterf(42.0, -INFINITY)); in ATF_TC_BODY() 109 testall(nextafterf(42.0, INFINITY), 42.0); in ATF_TC_BODY() 115 testall(-5.0, -5.0); in ATF_TC_BODY() 121 testall(-3.0, -4.0); in ATF_TC_BODY() 127 testall(1.0, NAN); in ATF_TC_BODY() 132 testall(INFINITY, NAN); in ATF_TC_BODY() 138 testall(INFINITY, 1.0); in ATF_TC_BODY() 144 testall(-3.0, -INFINITY); in ATF_TC_BODY() [all …]
|
H A D | lround_test.c | 56 #define testall(x, result, excepts) do { \ macro 68 testall(0.0, 0, 0); in ATF_TC_BODY() 69 testall(0.25, 0, FE_INEXACT); in ATF_TC_BODY() 70 testall(0.5, 1, FE_INEXACT); in ATF_TC_BODY() 71 testall(-0.5, -1, FE_INEXACT); in ATF_TC_BODY() 72 testall(1.0, 1, 0); in ATF_TC_BODY() 73 testall(0x12345000p0, 0x12345000, 0); in ATF_TC_BODY() 74 testall(0x1234.fp0, 0x1235, FE_INEXACT); in ATF_TC_BODY() 75 testall(INFINITY, IGNORE, FE_INVALID); in ATF_TC_BODY() 76 testall(NAN, IGNORE, FE_INVALID); in ATF_TC_BODY()
|
H A D | invtrig_test.c | 79 #define testall(prefix, x, result, excepts) \ macro 129 testall(asin, 0.0, 0.0, 0); in ATF_TC_BODY() 130 testall(acos, 0.0, pi / 2, FE_INEXACT); in ATF_TC_BODY() 131 testall(atan, 0.0, 0.0, 0); in ATF_TC_BODY() 132 testall(asin, -0.0, -0.0, 0); in ATF_TC_BODY() 133 testall(acos, -0.0, pi / 2, FE_INEXACT); in ATF_TC_BODY() 134 testall(atan, -0.0, -0.0, 0); in ATF_TC_BODY() 136 testall(asin, INFINITY, NAN, FE_INVALID); in ATF_TC_BODY() 137 testall(acos, INFINITY, NAN, FE_INVALID); in ATF_TC_BODY() 138 testall(atan, INFINITY, pi / 2, FE_INEXACT); in ATF_TC_BODY() [all …]
|
H A D | next_test.c | 63 #define testall(arg1, arg2, ans, ex) do { \ macro 129 testall(42.0, 42.0, 42.0, 0); in ATF_TC_BODY() 130 testall(-42.0, -42.0, -42.0, 0); in ATF_TC_BODY() 131 testall(INFINITY, INFINITY, INFINITY, 0); in ATF_TC_BODY() 132 testall(-INFINITY, -INFINITY, -INFINITY, 0); in ATF_TC_BODY() 133 testall(NAN, 42.0, NAN, 0); in ATF_TC_BODY() 134 testall(42.0, NAN, NAN, 0); in ATF_TC_BODY() 135 testall(NAN, NAN, NAN, 0); in ATF_TC_BODY()
|
H A D | ctrig_test.c | 99 #define testall(func, x, result, exceptmask, excepts, checksign) do { \ macro 104 testall(func, x, result, exceptmask, excepts, checksign); \ 105 testall(func, -x, -result, exceptmask, excepts, checksign); \ 108 testall(func, x, result, exceptmask, excepts, checksign); \ 109 testall(func, -x, result, exceptmask, excepts, checksign); \
|
/freebsd/tools/tools/crypto/ |
H A D | cryptotest.c | 544 int testall = 0; in main() local 585 testall = 1; in main() 620 if (testall) { in main() 628 if (testall) { in main()
|
H A D | cryptocheck.c | 260 static bool testall, verbose; variable 1781 else if (testall) { in run_test_sizes() 1883 testall = false; in main() 1913 testall = true; in main() 1938 if (testall) { in main() 1958 if (testall) { in main()
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | cleanup | 5 rm -f *.awk *.out testall try ind NOTES cleanup xc yc
|