I would like to decide whether ieee_arithmetic is supported by the Fortran compiler being used. I suppose this can be done, for example, in the preprocessing by checking some macros. To do this, I would like to know the following.
- What is the first version of gfortran / ifort / nagfor / g95 (or other common Fortran compilers) that supports ieee_arithmetic? I have searched online and looked through the manuals, but did not find an answer. It would be great if someone happens to know the information about one of these compilers.
2. Instead of checking the version of the compiler, is there any better way to decide whether ieee_arithmetic is available?
Thank you very much!