Searched refs:rounding_mode (Results 1 – 7 of 7) sorted by relevance
35 rounding_mode = get_fe_rounding(mode); in ForceRoundingMode()36 if (old_rounding_mode != rounding_mode) in ForceRoundingMode()37 fesetround(rounding_mode); in ForceRoundingMode()41 if (old_rounding_mode != rounding_mode) in ~ForceRoundingMode()
24 int rounding_mode; member
109 int rounding_mode = fputil::get_round(); variable110 if (rounding_mode == FE_DOWNWARD || rounding_mode == FE_TOWARDZERO) {
1312 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()1313 rounding_mode == rmNearestTiesToAway || in handleOverflow()1343 switch (rounding_mode) { in roundAwayFromZero()1392 return handleOverflow(rounding_mode); in normalize()1788 fs = normalize(rounding_mode, lost_fraction); in addOrSubtract()1799 sign = (rounding_mode == rmTowardNegative); in addOrSubtract()2095 fs = add(MagicConstant, rounding_mode); in roundToIntegral()2099 subtract(MagicConstant, rounding_mode); in roundToIntegral()2267 fs = normalize(rounding_mode, lostFraction); in convert()2757 fs = handleOverflow(rounding_mode); in convertFromDecimalString()[all …]
169 int rounding_mode = get_round(); in round_using_current_rounding_mode() local177 switch (rounding_mode) { in round_using_current_rounding_mode()210 switch (rounding_mode) { in round_using_current_rounding_mode()
216 uint32_t rounding_mode = in get_round() local218 switch (rounding_mode) { in get_round()
1347 "rounding_mode", "tonearest", "dynamic", "tonearest"