| /freebsd-14.2/lib/msun/tests/ |
| H A D | fma_test.c | 92 testall(0.0, 0.0, 0.0, 0.0, ALL_STD_EXCEPT, 0); in test_zeroes() 93 testall(1.0, 0.0, 0.0, 0.0, ALL_STD_EXCEPT, 0); in test_zeroes() 94 testall(0.0, 1.0, 0.0, 0.0, ALL_STD_EXCEPT, 0); in test_zeroes() 95 testall(0.0, 0.0, 1.0, 1.0, ALL_STD_EXCEPT, 0); in test_zeroes() 141 testall(INFINITY, INFINITY, -INFINITY, NAN, in test_infinities() 143 testall(-INFINITY, INFINITY, INFINITY, NAN, in test_infinities() 145 testall(INFINITY, -1.0, INFINITY, NAN, in test_infinities() 161 testall(NAN, 0.0, 0.0, NAN, ALL_STD_EXCEPT, 0); in test_nans() 162 testall(1.0, NAN, 1.0, NAN, ALL_STD_EXCEPT, 0); in test_nans() 164 testall(0.0, 0.0, NAN, NAN, ALL_STD_EXCEPT, 0); in test_nans() [all …]
|
| H A D | invctrig_test.c | 171 testall(cacosh, z, nan_nan, OPT_INVALID, 0, 0); in ATF_TC_BODY() 172 testall(cacos, z, nan_nan, OPT_INVALID, 0, 0); in ATF_TC_BODY() 173 testall(casinh, z, nan_nan, OPT_INVALID, 0, 0); in ATF_TC_BODY() 174 testall(casin, z, nan_nan, OPT_INVALID, 0, 0); in ATF_TC_BODY() 175 testall(catanh, z, nan_nan, OPT_INVALID, 0, 0); in ATF_TC_BODY() 176 testall(catan, z, nan_nan, OPT_INVALID, 0, 0); in ATF_TC_BODY() 180 testall(cacos, z, nan_nan, OPT_INVALID, 0, 0); in ATF_TC_BODY() 182 testall(casin, z, nan_nan, OPT_INVALID, 0, 0); in ATF_TC_BODY() 184 testall(catan, z, nan_nan, OPT_INVALID, 0, 0); in ATF_TC_BODY() 216 testall(cacos, z, nan_nan, OPT_INVALID, 0, 0); in ATF_TC_BODY() [all …]
|
| H A D | cexp_test.c | 107 testall(0.0, 1.0, ALL_STD_EXCEPT, 0, 1); in ATF_TC_BODY() 108 testall(-0.0, 1.0, ALL_STD_EXCEPT, 0, 1); in ATF_TC_BODY() 125 testall(CMPLXL(finites[i], NAN), CMPLXL(NAN, NAN), in ATF_TC_BODY() 130 testall(CMPLXL(NAN, finites[i]), CMPLXL(NAN, NAN), in ATF_TC_BODY() 139 testall(CMPLXL(INFINITY, NAN), CMPLXL(INFINITY, NAN), in ATF_TC_BODY() 142 testall(CMPLXL(-INFINITY, NAN), CMPLXL(0.0, 0.0), in ATF_TC_BODY() 145 testall(CMPLXL(NAN, NAN), CMPLXL(NAN, NAN), in ATF_TC_BODY() 161 testall(CMPLXL(-INFINITY, M_PI_4), CMPLXL(0.0, 0.0), in ATF_TC_BODY() 169 testall(CMPLXL(-INFINITY, 0.0), CMPLXL(0.0, 0.0), in ATF_TC_BODY() 171 testall(CMPLXL(-INFINITY, -0.0), CMPLXL(0.0, -0.0), in ATF_TC_BODY() [all …]
|
| H A D | trig_test.c | 91 testall(tan, 0.0, 0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 92 testall(tan, -0.0, -0.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(cos, -0.0, 1.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 95 testall(sin, 0.0, 0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 96 testall(sin, -0.0, -0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 107 testall(tan, NAN, NAN, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 108 testall(sin, NAN, NAN, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 109 testall(cos, NAN, NAN, ALL_STD_EXCEPT, 0); in ATF_TC_BODY() 236 testall(cos, 0xd.50ee515fe4aea16p-114L, 1.0, in ATF_TC_BODY() [all …]
|
| H A D | lrint_test.c | 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() 81 testall(INFINITY, IGNORE, FE_INVALID); 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() 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() 150 testall(3.0, -INFINITY); in ATF_TC_BODY() 156 testall(NAN, NAN); 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 | 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() 134 testall(atan, -0.0, -0.0, 0); in ATF_TC_BODY() 143 testall(asin, NAN, NAN, 0); in ATF_TC_BODY() 144 testall(acos, NAN, NAN, 0); in ATF_TC_BODY() 145 testall(atan, NAN, NAN, 0); in ATF_TC_BODY() 244 testall(acos, 1.0, 0, 0); in ATF_TC_BODY() 247 testall(acos, -1.0, pi, 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 | 100 #define testall(func, x, result, exceptmask, excepts, checksign) do { \ macro 105 testall(func, x, result, exceptmask, excepts, checksign); \ 106 testall(func, -x, -result, exceptmask, excepts, checksign); \ 109 testall(func, x, result, exceptmask, excepts, checksign); \ 110 testall(func, -x, result, exceptmask, excepts, checksign); \
|
| /freebsd-14.2/contrib/one-true-awk/testdir/ |
| H A D | cleanup | 5 rm -f *.awk *.out testall try ind NOTES cleanup xc yc
|
| /freebsd-14.2/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 1663 else if (testall) { in run_test_sizes() 1765 testall = false; in main() 1795 testall = true; in main() 1820 if (testall) { in main() 1840 if (testall) { in main()
|