Home
last modified time | relevance | path

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

/bionic/libm/arm64/
Dfenv.c110 return ((fpcr >> FPCR_RMODE_SHIFT) & FE_TOWARDZERO); in fegetround()
114 if (round < FE_TONEAREST || round > FE_TOWARDZERO) return -1; in fesetround()
117 fpu_control_t new_fpcr = fpcr & ~(FE_TOWARDZERO << FPCR_RMODE_SHIFT); in fesetround()
/bionic/libc/include/bits/
Dfenv_riscv64.h48 #define FE_TOWARDZERO 0x1 macro
Dfenv_arm.h72 #define FE_TOWARDZERO 0x3 macro
Dfenv_x86_64.h63 #define FE_TOWARDZERO 0xc00 macro
Dfenv_x86.h64 #define FE_TOWARDZERO 0x0c00 macro
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Dgdtoa_fltrnds.h8 case FE_TOWARDZERO: Rounding = 0; break;
Ddtoa.c140 case FE_TOWARDZERO: Rounding = 0; break;
Dstrtod.c133 case FE_TOWARDZERO: Rounding = 0; break;
/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_fmaf.c71 fesetround(FE_TOWARDZERO); in fmaf()
De_sqrtl.c139 fesetround(FE_TOWARDZERO); /* Set to round-toward-zero. */ in sqrtl()
Ds_fmal.c208 case FE_TOWARDZERO: in fmal()
Ds_fma.c227 case FE_TOWARDZERO: in fma()
/bionic/tests/headers/posix/
Dfenv_h.c47 MACRO(FE_TOWARDZERO); in fenv_h()
/bionic/tests/
Dfenv_test.cpp49 fesetround(FE_TOWARDZERO); in TEST()
50 ASSERT_EQ(FE_TOWARDZERO, fegetround()); in TEST()
Dmath_test.cpp1053 fesetround(FE_TOWARDZERO); // lrint/lrintf/lrintl obey the rounding mode. in TEST()
1062 fesetround(FE_TOWARDZERO); // llrint/llrintf/llrintl obey the rounding mode. in TEST()
1090 fesetround(FE_TOWARDZERO); // rint/rintf obey the rounding mode. in TEST()
1117 fesetround(FE_TOWARDZERO); // nearbyint/nearbyintf/nearbyintl obey the rounding mode. in TEST()
1237 fesetround(FE_TOWARDZERO); // round ignores the rounding mode and always rounds away from zero. in TEST()
1249 fesetround(FE_TOWARDZERO); // roundf ignores the rounding mode and always rounds away from zero. in TEST()
1261 fesetround(FE_TOWARDZERO); // roundl ignores the rounding mode and always rounds away from zero. in TEST()
/bionic/libm/amd64/
Dfenv.c46 #define X87_ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | FE_UPWARD | FE_TOWARDZERO)
/bionic/libm/i387/
Dfenv.c33 #define ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | FE_UPWARD | FE_TOWARDZERO)