Home
last modified time | relevance | path

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

/freebsd/lib/msun/tests/
H A Dctrig_test.c117 test_tol(func, x, result, tol * DBL_ULP()); \
121 test_odd_tol(func, x, result, tol * DBL_ULP()); \
125 test_even_tol(func, x, result, tol * DBL_ULP()); \
315 test_odd_tol(csinh, z, CMPLXL(sinh(nums[i]), 0), DBL_ULP()); in ATF_TC_BODY()
316 test_even_tol(ccosh, z, CMPLXL(cosh(nums[i]), 0), DBL_ULP()); in ATF_TC_BODY()
317 test_odd_tol(ctanh, z, CMPLXL(tanh(nums[i]), 0), DBL_ULP()); in ATF_TC_BODY()
319 copysign(0, cos(nums[i]))), DBL_ULP()); in ATF_TC_BODY()
321 -copysign(0, sin(nums[i]))), DBL_ULP()); in ATF_TC_BODY()
322 test_odd_tol(ctan, z, CMPLXL(tan(nums[i]), 0), DBL_ULP()); in ATF_TC_BODY()
340 sin(nums[i])), DBL_ULP()); in ATF_TC_BODY()
[all …]
H A Dcexp_test.c91 test_tol(cexp, x, result, tol * DBL_ULP()); \
252 test_tol(cexp, CMPLXL(a, b), CMPLXL(x, y), 3 * DBL_ULP()); in ATF_TC_BODY()
267 CMPLXL(INFINITY, 8.94674309915433533273e-16), DBL_ULP()); in ATF_TC_BODY()
269 CMPLXL(INFINITY, 9.73344457300016401328e+110), DBL_ULP()); in ATF_TC_BODY()
271 CMPLXL(INFINITY, 5.08228858149196559681e+284), DBL_ULP()); in ATF_TC_BODY()
273 CMPLXL(INFINITY, 7.42156649354218408074e+83), DBL_ULP()); in ATF_TC_BODY()
275 CMPLXL(INFINITY, 3.87514844965996756704e+257), DBL_ULP()); in ATF_TC_BODY()
H A Dlogarithm_test.c224 test_tol(log2, tests[i].x, tests[i].log2x, DBL_ULP()); in ATF_TC_BODY()
227 test_tol(log, tests[i].x, tests[i].logex, DBL_ULP()); in ATF_TC_BODY()
230 test_tol(log10, tests[i].x, tests[i].log10x, DBL_ULP()); in ATF_TC_BODY()
235 DBL_ULP()); in ATF_TC_BODY()
255 1.82321556793954589204283870982629267635e-1L, DBL_ULP()); in ATF_TC_BODY()
262 -2.23143551314209700255143859052009022937e-1L, DBL_ULP()); in ATF_TC_BODY()
H A Dtest-utils.h46 #define DBL_ULP() ldexpl(1.0, 1 - DBL_MANT_DIG) macro
H A Dinvctrig_test.c105 test_tol(func, x, result, (tol) * DBL_ULP()); \