Home
last modified time | relevance | path

Searched refs:DBL_EPSILON (Results 1 – 8 of 8) sorted by relevance

/dragonfly/tools/regression/lib/libm/
HDtest-trig.c190 assert(fabs(sin(d_pi_odd[i])) < 2 * DBL_EPSILON); in run_reduction_tests()
192 assert(fabs(tan(d_pi_odd[i])) < 2 * DBL_EPSILON); in run_reduction_tests()
194 assert(fabs(sin(-d_pi_odd[i])) < 2 * DBL_EPSILON); in run_reduction_tests()
196 assert(fabs(tan(-d_pi_odd[i])) < 2 * DBL_EPSILON); in run_reduction_tests()
198 assert(fabs(sin(d_pi_odd[i] * 2)) < 2 * DBL_EPSILON); in run_reduction_tests()
200 assert(fabs(tan(d_pi_odd[i] * 2)) < 2 * DBL_EPSILON); in run_reduction_tests()
202 assert(fabs(sin(-d_pi_odd[i] * 2)) < 2 * DBL_EPSILON); in run_reduction_tests()
204 assert(fabs(tan(-d_pi_odd[i] * 2)) < 2 * DBL_EPSILON); in run_reduction_tests()
HDtest-fma.c200 test(fma, one, one, 0x1.0p-200, 1.0 + DBL_EPSILON, in test_small_z()
213 test(fma, -one, one, -0x1.0p-200, -(1.0 + DBL_EPSILON), in test_small_z()
226 test(fma, one, one, -0x1.0p-200, 1.0 - DBL_EPSILON / 2, in test_small_z()
239 test(fma, -one, one, 0x1.0p-200, -1.0 + DBL_EPSILON / 2, in test_small_z()
260 test(fma, 0x1.0p-100, 0x1.0p-100, 1.0, 1.0 + DBL_EPSILON, in test_big_z()
273 test(fma, -0x1.0p-100, 0x1.0p-100, -1.0, -(1.0 + DBL_EPSILON), in test_big_z()
287 -1.0 + DBL_EPSILON / 2, ALL_STD_EXCEPT, FE_INEXACT); in test_big_z()
299 test(fma, 0x1.0p-100, -0x1.0p-100, 1.0, 1.0 - DBL_EPSILON / 2, in test_big_z()
HDtest-next.c141 testboth(1.0, 2.0, 1.0 + DBL_EPSILON, 0, ); in main()
142 testboth(1.0, -INFINITY, 1.0 - DBL_EPSILON/2, 0, ); in main()
148 testboth(-1.0, 2.0, -1.0 + DBL_EPSILON/2, 0, ); in main()
149 testboth(-1.0, -INFINITY, -1.0 - DBL_EPSILON, 0, ); in main()
156 test(nexttoward(1.0, 1.0 + ldbl_eps), 1.0 + DBL_EPSILON, 0); in main()
HDtest-fenv.c534 if (d + (DBL_EPSILON * 3.0 / 4.0) == 1.0) in getround()
536 if (d + (DBL_EPSILON * 1.0 / 4.0) > 1.0) in getround()
/dragonfly/contrib/gcc-4.7/gcc/ginclude/
HDfloat.h112 #undef DBL_EPSILON
115 #define DBL_EPSILON __DBL_EPSILON__ macro
/dragonfly/contrib/mpfr/src/
HDscale2.c52 x.d *= DBL_EPSILON; in mpfr_scale2()
HDget_d.c78 d *= DBL_EPSILON; in mpfr_get_d()
/dragonfly/include/
HDfloat.h69 #define DBL_EPSILON 2.2204460492503131E-16 macro