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

/freebsd-11-stable/lib/msun/tests/
H A Dlogarithm_test.c227 test_tol(log2f, tests[i].x, tests[i].log2x, FLT_ULP());
230 test_tol(logf, tests[i].x, tests[i].logex, FLT_ULP());
233 test_tol(log10f, tests[i].x, tests[i].log10x, FLT_ULP());
239 FLT_ULP());
251 1.82321546859847114303367992804596800640e-1L, FLT_ULP());
258 -2.23143536413048672940940199918017467652e-1L, FLT_ULP());
H A Dcexp_test.c96 test_tol(cexpf, x, result, tol * FLT_ULP()); \
266 test_tol(cexpf, CMPLXL(a, b), CMPLXL(x, y), 1 * FLT_ULP());
287 CMPLXL(INFINITY, 4.80265603e-07), 2 * FLT_ULP());
289 CMPLXL(INFINITY, 1.7101492622e-06f), 2 * FLT_ULP());
291 CMPLXL(INFINITY, 3.396809344e+38f), 2 * FLT_ULP());
293 CMPLXL(INFINITY, 1.1163382522e+16f), 2 * FLT_ULP());
295 CMPLXL(INFINITY, 5.7878851079e+37f), 2 * FLT_ULP());
H A 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());
334 test_even_tol(ccoshf, z, CMPLXL(coshf(nums[i]), 0), FLT_ULP());
339 1.3 * FLT_ULP());
341 copysign(0, cosf(nums[i]))), FLT_ULP());
343 -copysign(0, sinf(nums[i]))), 2 * FLT_ULP());
344 test_odd_tol(ctanf, z, CMPLXL(tanf(nums[i]), 0), FLT_ULP());
358 sinf(nums[i])), FLT_ULP());
[all...]
H A Dtest-utils.h44 #define FLT_ULP() ldexpl(1.0, 1 - FLT_MANT_DIG) macro
H A Dinvctrig_test.c110 test_tol(func##f, x, result, (tol) * FLT_ULP()); \

Completed in 61 milliseconds