Home
last modified time | relevance | path

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

/freebsd-12-stable/lib/msun/tests/
Dctrig_test.c120 test_tol(func##f, x, result, tol * FLT_ULP()); \
124 test_odd_tol(func##f, x, result, tol * FLT_ULP()); \
128 test_even_tol(func##f, x, result, tol * FLT_ULP()); \
333 test_odd_tol(csinhf, z, CMPLXL(sinhf(nums[i]), 0), FLT_ULP()); in ATF_TC_BODY()
334 test_even_tol(ccoshf, z, CMPLXL(coshf(nums[i]), 0), FLT_ULP()); in ATF_TC_BODY()
339 1.3 * FLT_ULP()); in ATF_TC_BODY()
341 copysign(0, cosf(nums[i]))), FLT_ULP()); in ATF_TC_BODY()
343 -copysign(0, sinf(nums[i]))), 2 * FLT_ULP()); in ATF_TC_BODY()
344 test_odd_tol(ctanf, z, CMPLXL(tanf(nums[i]), 0), FLT_ULP()); in ATF_TC_BODY()
358 sinf(nums[i])), FLT_ULP()); in ATF_TC_BODY()
[all …]
Dcexp_test.c96 test_tol(cexpf, x, result, tol * FLT_ULP()); \
266 test_tol(cexpf, CMPLXL(a, b), CMPLXL(x, y), 1 * FLT_ULP()); in test_small()
287 CMPLXL(INFINITY, 4.80265603e-07), 2 * FLT_ULP()); in test_large()
289 CMPLXL(INFINITY, 1.7101492622e-06f), 2 * FLT_ULP()); in test_large()
291 CMPLXL(INFINITY, 3.396809344e+38f), 2 * FLT_ULP()); in test_large()
293 CMPLXL(INFINITY, 1.1163382522e+16f), 2 * FLT_ULP()); in test_large()
295 CMPLXL(INFINITY, 5.7878851079e+37f), 2 * FLT_ULP()); in test_large()
Dlogarithm_test.c227 test_tol(log2f, tests[i].x, tests[i].log2x, FLT_ULP()); in run_accuracy_tests()
230 test_tol(logf, tests[i].x, tests[i].logex, FLT_ULP()); in run_accuracy_tests()
233 test_tol(log10f, tests[i].x, tests[i].log10x, FLT_ULP()); in run_accuracy_tests()
239 FLT_ULP()); in run_accuracy_tests()
251 1.82321546859847114303367992804596800640e-1L, FLT_ULP()); in run_log1p_accuracy_tests()
258 -2.23143536413048672940940199918017467652e-1L, FLT_ULP()); in run_log1p_accuracy_tests()
Dtest-utils.h44 #define FLT_ULP() ldexpl(1.0, 1 - FLT_MANT_DIG) macro
Dinvctrig_test.c110 test_tol(func##f, x, result, (tol) * FLT_ULP()); \