Hello,
I'm coming (late) to this.
Le 31/08/2022 à 20:29, FX via Fortran a écrit :
This adds new F2018 features, that are not really enabled (because their
runtime support is optional).
(...)
2. Add the optional RADIX argument to IEEE_SET_ROUNDING_MODE and
IEEE_GET_ROUNDING_MODE. It is unused for now, because we do not support
floating-point radices other than 2.
If we accept the argument, we have to support it somehow.
So for IEEE_GET_ROUNDING_MODE (*, 10), we should return IEEE_OTHER,
shouldn't we?
There is no problem for IEEE_SET_ROUNDING_MODE (*, 10) as there is no
way this to be a valid call if radix 10 is not supported, but changing a
compile time error to a runtime unexpected behavior seems like a step
backwards.