/freebsd/lib/msun/tests/ |
H A D | logarithm_test.c | 66 #define test_tol(func, z, result, tol) do { \ macro 224 test_tol(log2, tests[i].x, tests[i].log2x, DBL_ULP()); in ATF_TC_BODY() 225 test_tol(log2f, tests[i].x, tests[i].log2x, FLT_ULP()); in ATF_TC_BODY() 226 test_tol(log2l, tests[i].x, tests[i].log2x, LDBL_ULP()); in ATF_TC_BODY() 227 test_tol(log, tests[i].x, tests[i].logex, DBL_ULP()); in ATF_TC_BODY() 228 test_tol(logf, tests[i].x, tests[i].logex, FLT_ULP()); in ATF_TC_BODY() 229 test_tol(logl, tests[i].x, tests[i].logex, LDBL_ULP()); in ATF_TC_BODY() 230 test_tol(log10, tests[i].x, tests[i].log10x, DBL_ULP()); in ATF_TC_BODY() 231 test_tol(log10f, tests[i].x, tests[i].log10x, FLT_ULP()); in ATF_TC_BODY() 232 test_tol(log10l, tests[i].x, tests[i].log10x, LDBL_ULP()); in ATF_TC_BODY() [all …]
|
H A D | cexp_test.c | 75 #define test_tol(func, z, result, tol) do { \ macro 91 test_tol(cexp, x, result, tol * DBL_ULP()); \ 92 test_tol(cexpf, x, result, tol * FLT_ULP()); \ 252 test_tol(cexp, CMPLXL(a, b), CMPLXL(x, y), 3 * DBL_ULP()); in ATF_TC_BODY() 257 test_tol(cexpf, CMPLXL(a, b), CMPLXL(x, y), 1 * FLT_ULP()); in ATF_TC_BODY() 266 test_tol(cexp, CMPLXL(709.79, 0x1p-1074), in ATF_TC_BODY() 268 test_tol(cexp, CMPLXL(1000, 0x1p-1074), in ATF_TC_BODY() 270 test_tol(cexp, CMPLXL(1400, 0x1p-1074), in ATF_TC_BODY() 272 test_tol(cexp, CMPLXL(900, 0x1.23456789abcdep-1020), in ATF_TC_BODY() 274 test_tol(cexp, CMPLXL(1300, 0x1.23456789abcdep-1020), in ATF_TC_BODY() [all …]
|
H A D | ctrig_test.c | 85 #define test_tol(func, z, result, tol) do { \ macro 90 test_tol(func, z, result, tol); \ 91 test_tol(func, -(z), -(result), tol); \ 94 test_tol(func, z, result, tol); \ 95 test_tol(func, -(z), result, tol); \ 117 test_tol(func, x, result, tol * DBL_ULP()); \ 118 test_tol(func##f, x, result, tol * FLT_ULP()); \
|
H A D | invtrig_test.c | 52 #define test_tol(func, x, result, tol, excepts) do { \ macro 60 test_tol(func, (x), (result), 0, (excepts)) 63 test_tol(prefix, (double)(x), (double)(result), \ 65 test_tol(prefix##f, (float)(x), (float)(result), \ 74 test_tol(prefix##l, (x), (result), \
|
H A D | invctrig_test.c | 81 #define test_tol(func, z, result, tol) do { \ macro 105 test_tol(func, x, result, (tol) * DBL_ULP()); \ 106 test_tol(func##f, x, result, (tol) * FLT_ULP()); \
|