| /freebsd-12.1/lib/msun/tests/ |
| H A D | logarithm_test.c | 76 #define test_tol(func, z, result, tol) do { \ macro 229 test_tol(log, tests[i].x, tests[i].logex, DBL_ULP()); in run_accuracy_tests() 236 test_tol(log1p, tests[i].x - 1, tests[i].logex, in run_accuracy_tests() 238 test_tol(log1pf, tests[i].x - 1, tests[i].logex, in run_accuracy_tests() 240 test_tol(log1pl, tests[i].x - 1, tests[i].logex, in run_accuracy_tests() 250 test_tol(log1pf, 0x0.333333p0F, in run_log1p_accuracy_tests() 252 test_tol(log1p, 0x0.3333333333333p0, in run_log1p_accuracy_tests() 254 test_tol(log1pl, 0x0.33333333333333332p0L, in run_log1p_accuracy_tests() 257 test_tol(log1pf, -0x0.333333p0F, in run_log1p_accuracy_tests() 259 test_tol(log1p, -0x0.3333333333333p0, in run_log1p_accuracy_tests() [all …]
|
| H A D | cexp_test.c | 78 #define test_tol(func, z, result, tol) do { \ macro 95 test_tol(cexp, x, result, tol * DBL_ULP()); \ 96 test_tol(cexpf, x, result, tol * FLT_ULP()); \ 275 test_tol(cexp, CMPLXL(709.79, 0x1p-1074), in test_large() 277 test_tol(cexp, CMPLXL(1000, 0x1p-1074), in test_large() 279 test_tol(cexp, CMPLXL(1400, 0x1p-1074), in test_large() 286 test_tol(cexpf, CMPLXL(88.73, 0x1p-149), in test_large() 288 test_tol(cexpf, CMPLXL(90, 0x1p-149), in test_large() 290 test_tol(cexpf, CMPLXL(192, 0x1p-149), in test_large() 292 test_tol(cexpf, CMPLXL(120, 0x1.234568p-120), in test_large() [all …]
|
| H A D | ctrig_test.c | 87 #define test_tol(func, z, result, tol) do { \ macro 92 test_tol(func, z, result, tol); \ 93 test_tol(func, -(z), -(result), tol); \ 96 test_tol(func, z, result, tol); \ 97 test_tol(func, -(z), result, tol); \ 119 test_tol(func, x, result, tol * DBL_ULP()); \ 120 test_tol(func##f, x, result, tol * FLT_ULP()); \
|
| H A D | invtrig_test.c | 55 #define test_tol(func, x, result, tol, excepts) do { \ macro 62 test_tol(func, (x), (result), 0, (excepts)) 65 test_tol(prefix, (double)(x), (double)(result), \ 67 test_tol(prefix##f, (float)(x), (float)(result), \ 76 test_tol(prefix##l, (x), (result), \
|
| H A D | invctrig_test.c | 85 #define test_tol(func, z, result, tol) do { \ macro 109 test_tol(func, x, result, (tol) * DBL_ULP()); \ 110 test_tol(func##f, x, result, (tol) * FLT_ULP()); \
|