On 4/21/2023 3:41 AM, gah4 wrote:
> claims that ieee_value isn't an intrinsic function.
There are only selected intrinsic module functions (which are not
intrinsic functions) allowed in constant expressions:
- a reference to a transformational function from the intrinsic module
IEEE_ARITHMETIC or IEEE_EXCEPTIONS, where each argument is a constant
expression
- an inquiry function from the intrinsic modules IEEE_ARITHMETIC and
IEEE_EXCEPTIONS (17.10) [this is from "specification inquiry functions",
which are allowed in constant expressions.]
IEEE_VALUE is neither of these. I could see a case being made for
IEEE_VALUE being allowed here, but at present it is not (including in
F2023.)