Fortran 2003 and later
The IEEE_EXCEPTIONS
, IEEE_ARITHMETIC
, and IEEE_FEATURES
intrinsic modules provide support for exceptions and IEEE arithmetic, as defined in Fortran 2003 and later standards, and the IEC 60559:1989 standard (Binary floating-point arithmetic for microprocessor systems). These modules are only provided on the following supported platforms:
For full compliance with the Fortran standards, code using the IEEE_EXCEPTIONS
or IEEE_ARITHMETIC
modules should be compiled with the following options: -fno-unsafe-math-optimizations
-frounding-math -fsignaling-nans
.
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gfortran/IEEE-modules.html