Home
last modified time | relevance | path

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

/src/lib/msun/tests/
H A Dlogarithm_test.c66 #define test_tol(func, z, result, tol) do { \ macro
229 test_tol(log2, tests[i].x, tests[i].log2x, DBL_ULP()); in ATF_TC_BODY()
230 test_tol(log2f, tests[i].x, tests[i].log2x, FLT_ULP()); in ATF_TC_BODY()
231 test_tol(log2l, tests[i].x, tests[i].log2x, LDBL_ULP()); in ATF_TC_BODY()
232 test_tol(log, tests[i].x, tests[i].logex, DBL_ULP()); in ATF_TC_BODY()
233 test_tol(logf, tests[i].x, tests[i].logex, FLT_ULP()); in ATF_TC_BODY()
234 test_tol(logl, tests[i].x, tests[i].logex, LDBL_ULP()); in ATF_TC_BODY()
235 test_tol(log10, tests[i].x, tests[i].log10x, DBL_ULP()); in ATF_TC_BODY()
236 test_tol(log10f, tests[i].x, tests[i].log10x, FLT_ULP()); in ATF_TC_BODY()
237 test_tol(log10l, tests[i].x, tests[i].log10x, LDBL_ULP()); in ATF_TC_BODY()
[all …]
H A Dcexp_test.c75 #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()); \
255 test_tol(cexp, CMPLXL(a, b), CMPLXL(x, y), 3 * DBL_ULP()); in ATF_TC_BODY()
260 test_tol(cexpf, CMPLXL(a, b), CMPLXL(x, y), 1 * FLT_ULP()); in ATF_TC_BODY()
269 test_tol(cexp, CMPLXL(709.79, 0x1p-1074), in ATF_TC_BODY()
271 test_tol(cexp, CMPLXL(1000, 0x1p-1074), in ATF_TC_BODY()
273 test_tol(cexp, CMPLXL(1400, 0x1p-1074), in ATF_TC_BODY()
275 test_tol(cexp, CMPLXL(900, 0x1.23456789abcdep-1020), in ATF_TC_BODY()
277 test_tol(cexp, CMPLXL(1300, 0x1.23456789abcdep-1020), in ATF_TC_BODY()
[all …]
H A Dctrig_test.c85 #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 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.c81 #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()); \