Skip to content

v4.1.0

Compare
Choose a tag to compare
@ajdawson ajdawson released this 22 Aug 18:02
· 44 commits to master since this release

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.
  • 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.