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