2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
8 IEEE modules: IEEE_EXCEPTIONS, IEEE_ARITHMETIC, and IEEE_FEATURES
9 *****************************************************************
12 Fortran 2003 and later
14 The ``IEEE_EXCEPTIONS``, ``IEEE_ARITHMETIC``, and ``IEEE_FEATURES``
15 intrinsic modules provide support for exceptions and IEEE arithmetic, as
16 defined in Fortran 2003 and later standards, and the IEC 60559:1989 standard
17 (*Binary floating-point arithmetic for microprocessor systems*). These
18 modules are only provided on the following supported platforms:
20 * i386 and x86_64 processors
21 * platforms which use the GNU C Library (glibc)
22 * platforms with support for SysV/386 routines for floating point
23 interface (including Solaris and BSDs)
24 * platforms with the AIX OS
26 For full compliance with the Fortran standards, code using the
27 ``IEEE_EXCEPTIONS`` or ``IEEE_ARITHMETIC`` modules should be compiled
28 with the following options: ``-fno-unsafe-math-optimizations
29 -frounding-math -fsignaling-nans``.