Home
last modified time | relevance | path

Searched refs:rounding_mode (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/libc/utils/testutils/
H A DRoundingModeUtils.cpp35 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()
H A DRoundingModeUtils.h24 int rounding_mode; member
/llvm-project-15.0.7/libc/src/math/generic/
H A Dlog2f.cpp109 int rounding_mode = fputil::get_round(); variable
110 if (rounding_mode == FE_DOWNWARD || rounding_mode == FE_TOWARDZERO) {
/llvm-project-15.0.7/llvm/lib/Support/
H A DAPFloat.cpp1312 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 …]
/llvm-project-15.0.7/libc/src/__support/FPUtil/
H A DNearestIntegerOperations.h169 int rounding_mode = get_round(); in round_using_current_rounding_mode() local
177 switch (rounding_mode) { in round_using_current_rounding_mode()
210 switch (rounding_mode) { in round_using_current_rounding_mode()
/llvm-project-15.0.7/libc/src/__support/FPUtil/aarch64/
H A Dfenv_darwin_impl.h216 uint32_t rounding_mode = in get_round() local
218 switch (rounding_mode) { in get_round()
/llvm-project-15.0.7/clang/docs/
H A DUsersManual.rst1347 "rounding_mode", "tonearest", "dynamic", "tonearest"