Change the rounding mode used for all floating-point operations.
Returns the old rounding mode.
When changing the rounding mode, it is almost always necessary to restore it at the end of the function. Typical usage:
auto oldrounding = setIeeeRounding(RoundingMode.ROUNDDOWN); scope (exit) setIeeeRounding(oldrounding);
See Implementation
Change the rounding mode used for all floating-point operations.
Returns the old rounding mode.
When changing the rounding mode, it is almost always necessary to restore it at the end of the function. Typical usage: