Searched refs:test_tol (Results 1 – 5 of 5) sorted by relevance
| /openbsd/src/regress/lib/libm/msun/ |
| D | logarithm_test.c | 69 #define test_tol(func, z, result, tol) do { \ macro 227 test_tol(log2, tests[i].x, tests[i].log2x, DBL_ULP()); in ATF_TC_BODY() 228 test_tol(log2f, tests[i].x, tests[i].log2x, FLT_ULP()); in ATF_TC_BODY() 229 test_tol(log2l, tests[i].x, tests[i].log2x, LDBL_ULP()); in ATF_TC_BODY() 230 test_tol(log, tests[i].x, tests[i].logex, DBL_ULP()); in ATF_TC_BODY() 231 test_tol(logf, tests[i].x, tests[i].logex, FLT_ULP()); in ATF_TC_BODY() 232 test_tol(logl, tests[i].x, tests[i].logex, LDBL_ULP()); in ATF_TC_BODY() 233 test_tol(log10, tests[i].x, tests[i].log10x, DBL_ULP()); in ATF_TC_BODY() 234 test_tol(log10f, tests[i].x, tests[i].log10x, FLT_ULP()); in ATF_TC_BODY() 235 test_tol(log10l, tests[i].x, tests[i].log10x, LDBL_ULP()); in ATF_TC_BODY() [all …]
|
| D | cexp_test.c | 81 #define test_tol(func, z, result, tol) do { \ macro 98 test_tol(cexp, x, result, tol * DBL_ULP()); \ 99 test_tol(cexpf, x, result, tol * FLT_ULP()); \ 264 test_tol(cexp, CMPLXL(a, b), CMPLXL(x, y), 3 * DBL_ULP()); in ATF_TC_BODY() 269 test_tol(cexpf, CMPLXL(a, b), CMPLXL(x, y), 1 * FLT_ULP()); in ATF_TC_BODY() 278 test_tol(cexp, CMPLXL(709.79, 0x1p-1074), in ATF_TC_BODY() 280 test_tol(cexp, CMPLXL(1000, 0x1p-1074), in ATF_TC_BODY() 282 test_tol(cexp, CMPLXL(1400, 0x1p-1074), in ATF_TC_BODY() 284 test_tol(cexp, CMPLXL(900, 0x1.23456789abcdep-1020), in ATF_TC_BODY() 286 test_tol(cexp, CMPLXL(1300, 0x1.23456789abcdep-1020), in ATF_TC_BODY() [all …]
|
| D | ctrig_test.c | 88 #define test_tol(func, z, result, tol) do { \ macro 93 test_tol(func, z, result, tol); \ 94 test_tol(func, -(z), -(result), tol); \ 97 test_tol(func, z, result, tol); \ 98 test_tol(func, -(z), result, tol); \ 120 test_tol(func, x, result, tol * DBL_ULP()); \ 121 test_tol(func##f, x, result, tol * FLT_ULP()); \
|
| D | invtrig_test.c | 54 #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), \
|
| D | invctrig_test.c | 84 #define test_tol(func, z, result, tol) do { \ macro 108 test_tol(func, x, result, (tol) * DBL_ULP()); \ 109 test_tol(func##f, x, result, (tol) * FLT_ULP()); \
|