/freebsd/lib/msun/src/ |
H A D | catrig.c | 52 RECIP_EPSILON = 1 / DBL_EPSILON, 176 if (y == 1 && x < DBL_EPSILON * DBL_EPSILON / 128) { in do_hard_work() 182 } else if (x >= DBL_EPSILON * fabs(y - 1)) { in do_hard_work() 214 *sqrt_A2my2 = A * (2 / DBL_EPSILON); in do_hard_work() 215 *new_y = y * (2 / DBL_EPSILON); in do_hard_work() 229 if (y == 1 && x < DBL_EPSILON / 128) { in do_hard_work() 235 } else if (x >= DBL_EPSILON * fabs(y - 1)) { in do_hard_work() 252 *sqrt_A2my2 = x * (4 / DBL_EPSILON / DBL_EPSILON) * y / in do_hard_work() 254 *new_y = y * (4 / DBL_EPSILON / DBL_EPSILON); in do_hard_work() 618 if (ax == 1 && ay < DBL_EPSILON) in catanh() [all …]
|
/freebsd/tools/regression/usr.bin/cc/ |
H A D | float.c | 51 static const double one_d = 1.0 + DBL_EPSILON / 2; 181 1.0 + DBL_EPSILON != 1.0 && in run_tests() 186 vd = DBL_EPSILON; in run_tests() 202 (double)(1.0 + DBL_EPSILON * 0.5) == 1.0 && in run_tests() 205 (double)(1.0L + DBL_EPSILON * 0.5L) == 1.0 && in run_tests() 225 d = 1.0L + DBL_EPSILON * 0.5L; in run_tests() 245 1.0 + DBL_MIN == 1.0 + DBL_EPSILON && in run_tests()
|
/freebsd/lib/msun/tests/ |
H A D | trig_test.c | 182 ATF_CHECK(fabs(sin(d_pi_odd[i])) < 2 * DBL_EPSILON); in ATF_TC_BODY() 184 ATF_CHECK(fabs(tan(d_pi_odd[i])) < 2 * DBL_EPSILON); in ATF_TC_BODY() 186 ATF_CHECK(fabs(sin(-d_pi_odd[i])) < 2 * DBL_EPSILON); in ATF_TC_BODY() 188 ATF_CHECK(fabs(tan(-d_pi_odd[i])) < 2 * DBL_EPSILON); in ATF_TC_BODY() 190 ATF_CHECK(fabs(sin(d_pi_odd[i] * 2)) < 2 * DBL_EPSILON); in ATF_TC_BODY() 192 ATF_CHECK(fabs(tan(d_pi_odd[i] * 2)) < 2 * DBL_EPSILON); in ATF_TC_BODY() 194 ATF_CHECK(fabs(sin(-d_pi_odd[i] * 2)) < 2 * DBL_EPSILON); in ATF_TC_BODY() 196 ATF_CHECK(fabs(tan(-d_pi_odd[i] * 2)) < 2 * DBL_EPSILON); in ATF_TC_BODY()
|
H A D | fma_test.c | 186 test(fma, one, one, 0x1.0p-200, 1.0 + DBL_EPSILON, in test_small_z() 199 test(fma, -one, one, -0x1.0p-200, -(1.0 + DBL_EPSILON), in test_small_z() 212 test(fma, one, one, -0x1.0p-200, 1.0 - DBL_EPSILON / 2, in test_small_z() 225 test(fma, -one, one, 0x1.0p-200, -1.0 + DBL_EPSILON / 2, in test_small_z() 245 test(fma, 0x1.0p-100, 0x1.0p-100, 1.0, 1.0 + DBL_EPSILON, in test_big_z() 258 test(fma, -0x1.0p-100, 0x1.0p-100, -1.0, -(1.0 + DBL_EPSILON), in test_big_z() 272 -1.0 + DBL_EPSILON / 2, ALL_STD_EXCEPT, FE_INEXACT); in test_big_z() 284 test(fma, 0x1.0p-100, -0x1.0p-100, 1.0, 1.0 - DBL_EPSILON / 2, in test_big_z()
|
H A D | next_test.c | 144 testboth(1.0, 2.0, 1.0 + DBL_EPSILON, 0, ); in ATF_TC_BODY() 145 testboth(1.0, -INFINITY, 1.0 - DBL_EPSILON / 2, 0, ); in ATF_TC_BODY() 151 testboth(-1.0, 2.0, -1.0 + DBL_EPSILON / 2, 0, ); in ATF_TC_BODY() 152 testboth(-1.0, -INFINITY, -1.0 - DBL_EPSILON, 0, ); in ATF_TC_BODY() 159 test(nexttoward(1.0, 1.0 + ldbl_eps), 1.0 + DBL_EPSILON, 0); in ATF_TC_BODY()
|
H A D | fenv_test.c | 146 if (d + (DBL_EPSILON * 3.0 / 4.0) == 1.0) in getround() 148 if (d + (DBL_EPSILON * 1.0 / 4.0) > 1.0) in getround()
|
/freebsd/contrib/netbsd-tests/lib/libm/ |
H A D | t_precision.c | 59 x += DBL_EPSILON; in ATF_TC_BODY() 62 ATF_CHECK(x == DBL_EPSILON); in ATF_TC_BODY() 65 x += DBL_EPSILON; in ATF_TC_BODY()
|
H A D | t_modf.c | 56 ATF_CHECK(modf(-1 - DBL_EPSILON, &base) == -DBL_EPSILON); in ATF_TC_BODY()
|
H A D | t_fmod.c | 60 ATF_CHECK(fabs(fmod(1.0, 0.1) - 0.1) <= 55 * DBL_EPSILON); in ATF_TC_BODY()
|
H A D | t_cos.c | 79 const long double eps = DBL_EPSILON; in ATF_TC_BODY() 175 const double eps = DBL_EPSILON; in ATF_TC_BODY()
|
H A D | t_sqrt.c | 65 const double eps = DBL_EPSILON; in ATF_TC_BODY() 280 const long double eps = DBL_EPSILON; /* XXX powl == pow for now */ in ATF_TC_BODY()
|
H A D | t_cosh.c | 67 const double eps = DBL_EPSILON; in ATF_TC_BODY()
|
H A D | t_sin.c | 72 const double eps = DBL_EPSILON; in ATF_TC_BODY()
|
H A D | t_sinh.c | 66 const double eps = DBL_EPSILON; in ATF_TC_BODY()
|
H A D | t_tan.c | 68 const double eps = DBL_EPSILON; in ATF_TC_BODY()
|
H A D | t_asin.c | 121 const double eps = DBL_EPSILON; in ATF_TC_BODY()
|
/freebsd/sys/arm/include/ |
H A D | float.h | 68 #define DBL_EPSILON 2.2204460492503131E-16 macro 83 #define LDBL_EPSILON ((long double)DBL_EPSILON)
|
/freebsd/sys/powerpc/include/ |
H A D | float.h | 69 #define DBL_EPSILON 2.2204460492503131E-16 macro 84 #define LDBL_EPSILON ((long double)DBL_EPSILON)
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | float.h | 70 # undef DBL_EPSILON 148 #define DBL_EPSILON __DBL_EPSILON__ macro
|
/freebsd/sys/arm64/include/ |
H A D | float.h | 66 #define DBL_EPSILON 2.2204460492503131E-16 macro
|
/freebsd/sys/riscv/include/ |
H A D | float.h | 62 #define DBL_EPSILON 2.2204460492503131E-16 macro
|
/freebsd/sys/x86/include/ |
H A D | float.h | 68 #define DBL_EPSILON 2.2204460492503131E-16 macro
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | cfloat | 60 DBL_EPSILON
|
/freebsd/contrib/libcbor/examples/ |
H A D | cjson2cbor.c | 72 if (fabs(source->valuedouble - source->valueint) > DBL_EPSILON) { in cjson_cbor_stream_decode()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/ |
H A D | nsan.h | 125 static constexpr const float kEpsilon = DBL_EPSILON;
|