Searched refs:FE_TOWARDZERO (Results 1 – 17 of 17) sorted by relevance
110 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()
48 #define FE_TOWARDZERO 0x1 macro
72 #define FE_TOWARDZERO 0x3 macro
63 #define FE_TOWARDZERO 0xc00 macro
64 #define FE_TOWARDZERO 0x0c00 macro
8 case FE_TOWARDZERO: Rounding = 0; break;
140 case FE_TOWARDZERO: Rounding = 0; break;
133 case FE_TOWARDZERO: Rounding = 0; break;
71 fesetround(FE_TOWARDZERO); in fmaf()
139 fesetround(FE_TOWARDZERO); /* Set to round-toward-zero. */ in sqrtl()
208 case FE_TOWARDZERO: in fmal()
227 case FE_TOWARDZERO: in fma()
47 MACRO(FE_TOWARDZERO); in fenv_h()
49 fesetround(FE_TOWARDZERO); in TEST()50 ASSERT_EQ(FE_TOWARDZERO, fegetround()); in TEST()
1053 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()
46 #define X87_ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | FE_UPWARD | FE_TOWARDZERO)
33 #define ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | FE_UPWARD | FE_TOWARDZERO)