Home
last modified time | relevance | path

Searched refs:test_tol (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/lib/msun/tests/
H A Dlogarithm_test.c67 #define test_tol(func, z, result, tol) do { \ macro
228 test_tol(log, tests[i].x, tests[i].logex, DBL_ULP()); in ATF_TC_BODY()
235 test_tol(log1p, tests[i].x - 1, tests[i].logex, in ATF_TC_BODY()
237 test_tol(log1pf, tests[i].x - 1, tests[i].logex, in ATF_TC_BODY()
239 test_tol(log1pl, tests[i].x - 1, tests[i].logex, in ATF_TC_BODY()
253 test_tol(log1pf, 0x0.333333p0F, in ATF_TC_BODY()
255 test_tol(log1p, 0x0.3333333333333p0, in ATF_TC_BODY()
257 test_tol(log1pl, 0x0.33333333333333332p0L, in ATF_TC_BODY()
260 test_tol(log1pf, -0x0.333333p0F, in ATF_TC_BODY()
262 test_tol(log1p, -0x0.3333333333333p0, in ATF_TC_BODY()
[all …]
H A Dcexp_test.c76 #define test_tol(func, z, result, tol) do { \ macro
92 test_tol(cexp, x, result, tol * DBL_ULP()); \
93 test_tol(cexpf, x, result, tol * FLT_ULP()); \
267 test_tol(cexp, CMPLXL(709.79, 0x1p-1074), in ATF_TC_BODY()
269 test_tol(cexp, CMPLXL(1000, 0x1p-1074), in ATF_TC_BODY()
271 test_tol(cexp, CMPLXL(1400, 0x1p-1074), in ATF_TC_BODY()
278 test_tol(cexpf, CMPLXL(88.73, 0x1p-149), in ATF_TC_BODY()
280 test_tol(cexpf, CMPLXL(90, 0x1p-149), in ATF_TC_BODY()
282 test_tol(cexpf, CMPLXL(192, 0x1p-149), in ATF_TC_BODY()
284 test_tol(cexpf, CMPLXL(120, 0x1.234568p-120), in ATF_TC_BODY()
[all …]
H A Dctrig_test.c86 #define test_tol(func, z, result, tol) do { \ macro
91 test_tol(func, z, result, tol); \
92 test_tol(func, -(z), -(result), tol); \
95 test_tol(func, z, result, tol); \
96 test_tol(func, -(z), result, tol); \
118 test_tol(func, x, result, tol * DBL_ULP()); \
119 test_tol(func##f, x, result, tol * FLT_ULP()); \
H A Dinvtrig_test.c52 #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 Dinvctrig_test.c82 #define test_tol(func, z, result, tol) do { \ macro
106 test_tol(func, x, result, (tol) * DBL_ULP()); \
107 test_tol(func##f, x, result, (tol) * FLT_ULP()); \