Home
last modified time | relevance | path

Searched refs:FE_TOWARDZERO (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/netbsd-tests/lib/libm/
H A Dt_fe_round.c46 { FE_TOWARDZERO, 1.99, 1},
47 { FE_TOWARDZERO, -1.99, -1},
48 { FE_TOWARDZERO, 0.2, 0},
49 { FE_TOWARDZERO, INT+0.01, INT},
50 { FE_TOWARDZERO, INT-0.01, INT - 1},
51 { FE_TOWARDZERO, -INT+0.01, -INT + 1},
52 { FE_TOWARDZERO, +0, 0},
53 { FE_TOWARDZERO, -0, 0},
H A Dt_fenv.c84 ATF_CHECK(fegetround() == FE_TOWARDZERO); in ATF_TC_BODY()
106 fesetround(FE_TOWARDZERO); in ATF_TC_BODY()
/freebsd/lib/msun/tests/
H A Dfma_test.c76 fesetround(FE_TOWARDZERO); \
111 case FE_TOWARDZERO: in test_zeroes()
209 if (fegetround() == FE_DOWNWARD || fegetround() == FE_TOWARDZERO) { in test_small_z()
222 if (fegetround() == FE_UPWARD || fegetround() == FE_TOWARDZERO) { in test_small_z()
268 if (fegetround() == FE_UPWARD || fegetround() == FE_TOWARDZERO) { in test_big_z()
281 if (fegetround() == FE_DOWNWARD || fegetround() == FE_TOWARDZERO) { in test_big_z()
468 FE_TONEAREST, FE_UPWARD, FE_DOWNWARD, FE_TOWARDZERO
H A Dfenv_test.c147 return (FE_TOWARDZERO); in getround()
323 ATF_CHECK_EQ(0, fesetround(FE_TOWARDZERO)); in ATF_TC_BODY()
324 ATF_CHECK_EQ(FE_TOWARDZERO, getround()); in ATF_TC_BODY()
325 ATF_CHECK_EQ(FE_TOWARDZERO, fegetround()); in ATF_TC_BODY()
H A Dlrint_test.c96 ATF_REQUIRE_EQ(0, fesetround(FE_TOWARDZERO)); in run_tests()
H A Dnearbyint_test.c43 FE_TONEAREST, FE_DOWNWARD, FE_UPWARD, FE_TOWARDZERO,
H A Dfmaxmin_test.c85 FE_TONEAREST, FE_UPWARD, FE_DOWNWARD, FE_TOWARDZERO in testall()
H A Dlogarithm_test.c166 fesetround(FE_TOWARDZERO); in ATF_TC_BODY()
/freebsd/lib/msun/arm/
H A Dfenv.h66 #define FE_TOWARDZERO VFP_FE_TOWARDZERO macro
69 #define FE_TOWARDZERO 0x0001 macro
74 FE_UPWARD | FE_TOWARDZERO)
H A Dfenv.c130 case FE_TOWARDZERO: in __softfp_round_to_vfp()
148 return FE_TOWARDZERO; in __softfp_round_from_vfp()
/freebsd/lib/msun/riscv/
H A Dfenv.h62 #define FE_TOWARDZERO (0x01 << _ROUND_SHIFT) macro
66 FE_UPWARD | FE_TOWARDZERO)
/freebsd/lib/msun/aarch64/
H A Dfenv.h62 #define FE_TOWARDZERO 0x3 macro
64 FE_UPWARD | FE_TOWARDZERO)
/freebsd/lib/libc/riscv/gen/
H A Dflt_rounds.c48 case FE_TOWARDZERO: in __flt_rounds()
/freebsd/lib/libc/arm/gen/
H A Dflt_rounds.c58 case FE_TOWARDZERO: in __flt_rounds()
/freebsd/contrib/gdtoa/
H A Dgdtoa_fltrnds.h8 case FE_TOWARDZERO: Rounding = 0; break;
H A Dg_ddfmt.c54 case FE_TOWARDZERO: Rounding = 0; break;
/freebsd/lib/msun/x86/
H A Dfenv.h56 #define FE_TOWARDZERO 0x0c00 macro
58 FE_UPWARD | FE_TOWARDZERO)
/freebsd/lib/msun/powerpc/
H A Dfenv.h87 #define FE_TOWARDZERO 0x0001 macro
91 FE_UPWARD | FE_TOWARDZERO)
/freebsd/lib/msun/src/
H A Ds_fmaf.c68 fesetround(FE_TOWARDZERO); in fmaf()
H A De_sqrtl.c136 fesetround(FE_TOWARDZERO); /* Set to round-toward-zero. */ in sqrtl()
/freebsd/lib/libc/tests/stdio/
H A Dprintfloat_test.c277 fesetround(FE_TOWARDZERO); in ATF_TC_BODY()
337 fesetround(FE_TOWARDZERO); in ATF_TC_BODY()
H A Dscanfloat_test.c245 fesetround(FE_TOWARDZERO); in ATF_TC_BODY()
296 fesetround(FE_TOWARDZERO); in ATF_TC_BODY()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dcfenv28 FE_TOWARDZERO
/freebsd/lib/libc/arm/softfloat/
H A Dsoftfloat.h89 float_round_to_zero = FE_TOWARDZERO,
/freebsd/lib/libc/riscv/softfloat/
H A Dsoftfloat.h89 float_round_to_zero = FE_TOWARDZERO,

12