v4.1.0
Adds an IEEE 754 compliant rounding scheme and new functionality for explicit handling of literal floating-point values.
- Features
- A new (currently opt-in) IEEE 754 compliant rounding mode, activated by setting the module variable
RPE_IEEE_ROUNDING = .true.
. This option is provided to help manage a transition to IEEE 754 compliant rounding in a future release. Eventually this option will be removed and IEEE 754 compliant rounding will become the default and only rounding mode. - A new helper function
rpe_literal
is provided to help write correct reduced-precision code that contains numeric literals.
- A new (currently opt-in) IEEE 754 compliant rounding mode, activated by setting the module variable
- Deprecations
- The current rounding mode (round to nearest) is deprecated. Future releases will use the IEEE 754 compliant rounding mode. Users should set
RPE_IEEE_ROUNDING = .true.
to get the new rounding behaviour. We recommend the IEEE 754 rounding mode to ensure best results.
- The current rounding mode (round to nearest) is deprecated. Future releases will use the IEEE 754 compliant rounding mode. Users should set