| /freebsd-12-stable/tools/regression/usr.bin/cc/ |
| D | float.c | 52 static const float one_f = 1.0 + FLT_EPSILON / 2; 182 1.0F + FLT_EPSILON != 1.0F && in run_tests() 187 vf = FLT_EPSILON; in run_tests() 194 (float)(1.0F + FLT_EPSILON * 0.5F) == 1.0F && in run_tests() 197 (float)(1.0 + FLT_EPSILON * 0.5) == 1.0F && in run_tests() 200 (float)(1.0L + FLT_EPSILON * 0.5L) == 1.0F && in run_tests() 220 == (1.0 + FLT_EPSILON * 0.5) * 512.0 in run_tests() 226 f = 1.0 + FLT_EPSILON * 0.5; in run_tests() 246 1.0F + FLT_MIN == 1.0F + FLT_EPSILON && in run_tests()
|
| /freebsd-12-stable/lib/msun/src/ |
| D | catrigf.c | 68 RECIP_EPSILON = 1 / FLT_EPSILON, 104 if (y == 1 && x < FLT_EPSILON * FLT_EPSILON / 128) { in do_hard_work() 106 } else if (x >= FLT_EPSILON * fabsf(y - 1)) { in do_hard_work() 122 *sqrt_A2my2 = A * (2 / FLT_EPSILON); in do_hard_work() 123 *new_y = y * (2 / FLT_EPSILON); in do_hard_work() 132 if (y == 1 && x < FLT_EPSILON / 128) { in do_hard_work() 134 } else if (x >= FLT_EPSILON * fabsf(y - 1)) { in do_hard_work() 138 *sqrt_A2my2 = x * (4 / FLT_EPSILON / FLT_EPSILON) * y / in do_hard_work() 140 *new_y = y * (4 / FLT_EPSILON / FLT_EPSILON); in do_hard_work() 374 if (ax == 1 && ay < FLT_EPSILON) in catanhf() [all …]
|
| /freebsd-12-stable/lib/msun/tests/ |
| D | trig_test.c | 164 ATF_CHECK(fabs(sinf(f_pi_odd[i])) < FLT_EPSILON); in ATF_TC_BODY() 166 ATF_CHECK(fabs(tan(f_pi_odd[i])) < FLT_EPSILON); in ATF_TC_BODY() 168 ATF_CHECK(fabs(sinf(-f_pi_odd[i])) < FLT_EPSILON); in ATF_TC_BODY() 170 ATF_CHECK(fabs(tanf(-f_pi_odd[i])) < FLT_EPSILON); in ATF_TC_BODY() 172 ATF_CHECK(fabs(sinf(f_pi_odd[i] * 2)) < FLT_EPSILON); in ATF_TC_BODY() 174 ATF_CHECK(fabs(tanf(f_pi_odd[i] * 2)) < FLT_EPSILON); in ATF_TC_BODY() 176 ATF_CHECK(fabs(sinf(-f_pi_odd[i] * 2)) < FLT_EPSILON); in ATF_TC_BODY() 178 ATF_CHECK(fabs(tanf(-f_pi_odd[i] * 2)) < FLT_EPSILON); in ATF_TC_BODY()
|
| D | fma_test.c | 190 test(fmaf, one, one, 0x1.0p-100, 1.0 + FLT_EPSILON, in test_small_z() 203 test(fmaf, -one, one, -0x1.0p-100, -(1.0 + FLT_EPSILON), in test_small_z() 216 test(fmaf, one, one, -0x1.0p-100, 1.0 - FLT_EPSILON / 2, in test_small_z() 229 test(fmaf, -one, one, 0x1.0p-100, -1.0 + FLT_EPSILON / 2, in test_small_z() 250 test(fmaf, 0x1.0p-50, 0x1.0p-50, 1.0, 1.0 + FLT_EPSILON, in test_big_z() 263 test(fmaf, -0x1.0p-50, 0x1.0p-50, -1.0, -(1.0 + FLT_EPSILON), in test_big_z() 277 -1.0 + FLT_EPSILON / 2, ALL_STD_EXCEPT, FE_INEXACT); in test_big_z() 289 test(fmaf, 0x1.0p-50, -0x1.0p-50, 1.0, 1.0 - FLT_EPSILON / 2, in test_big_z()
|
| D | next_test.c | 144 testboth(1.0, 2.0, 1.0 + FLT_EPSILON, 0, f); in main() 145 testboth(1.0, -INFINITY, 1.0 - FLT_EPSILON/2, 0, f); in main() 151 testboth(-1.0, 2.0, -1.0 + FLT_EPSILON/2, 0, f); in main() 152 testboth(-1.0, -INFINITY, -1.0 - FLT_EPSILON, 0, f); in main() 158 testf(nexttowardf(1.0, 1.0 + ldbl_eps), 1.0 + FLT_EPSILON, 0); in main()
|
| /freebsd-12-stable/tests/sys/kern/acct/ |
| D | acct_test.c | 64 ATF_CHECK(eps <= FLT_EPSILON); in check_result() 65 if (eps > FLT_EPSILON) { in check_result() 70 printf("Epsilon=%lg, rather than %g\n", eps, FLT_EPSILON); in check_result() 87 ATF_CHECK(fabs(v.f - 0.0) < FLT_EPSILON); in ATF_TC_BODY()
|
| /freebsd-12-stable/contrib/netbsd-tests/lib/libm/ |
| D | t_modf.c | 54 ATF_CHECK(modff(-1 - FLT_EPSILON, &basef) == -FLT_EPSILON); in ATF_TC_BODY()
|
| D | t_fmod.c | 63 ATF_CHECK(fabsf(fmodf(1.0, 0.1) - 0.1f) <= 55 * FLT_EPSILON); in ATF_TC_BODY()
|
| D | t_scalbn.c | 231 ATF_CHECK_MSG(fabs(rv-tests[i].result)<2.0*FLT_EPSILON, in ATF_TC_BODY()
|
| /freebsd-12-stable/contrib/gcc/ginclude/ |
| D | float.h | 113 #undef FLT_EPSILON 116 #define FLT_EPSILON __FLT_EPSILON__ macro
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Headers/ |
| D | float.h | 61 # undef FLT_EPSILON 118 #define FLT_EPSILON __FLT_EPSILON__ macro
|
| D | opencl-c-base.h | 221 #define FLT_EPSILON 0x1.0p-23f macro
|
| /freebsd-12-stable/sys/arm64/include/ |
| D | float.h | 50 #define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */ macro
|
| /freebsd-12-stable/sys/riscv/include/ |
| D | float.h | 50 #define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */ macro
|
| /freebsd-12-stable/sys/sparc64/include/ |
| D | float.h | 57 #define FLT_EPSILON 1.19209290E-7F /* b**(1-p) */ macro
|
| /freebsd-12-stable/sys/x86/include/ |
| D | float.h | 56 #define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */ macro
|
| /freebsd-12-stable/sys/mips/include/ |
| D | float.h | 55 #define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */ macro
|
| /freebsd-12-stable/sys/powerpc/include/ |
| D | float.h | 57 #define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */ macro
|
| /freebsd-12-stable/sys/arm/include/ |
| D | float.h | 56 #define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */ macro
|
| /freebsd-12-stable/contrib/llvm-project/libcxx/include/ |
| D | cfloat | 59 FLT_EPSILON
|