Intel® Fortran Compiler 18.0 Developer Guide and Reference
The IEEE_ARITHMETIC module contains derived data types that include named constants for controlling the level of support, and intrinsic module procedures.
The derived types in the intrinsic modules have components that are private. The IEEE_ARITHMETIC intrinsic module supports IEEE arithmetic and features. It defines the following derived types:
IEEE_CLASS_TYPE: Identifies a class of floating-point values. Its values are the following named constants:
IEEE_SIGNALING_NAN |
IEEE_NEGATIVE_NORMAL |
IEEE_QUIET_NAN |
IEEE_POSITIVE_DENORMAL |
IEEE_POSITIVE_INF |
IEEE_NEGATIVE_DENORMAL |
IEEE_NEGATIVE_INF |
IEEE_POSITIVE_ZERO |
IEEE_POSITIVE_NORMAL |
IEEE_NEGATIVE_ZERO |
IEEE_OTHER_VALUE |
IEEE_ROUND_TYPE: Identifies a rounding mode. Its values are the following named constants:
IEEE_NEAREST |
IEEE_TO_ZERO |
IEEE_UP |
IEEE_OTHER1 |
IEEE_DOWN |
|
1 Specifies the rounding mode does not conform to the IEEE standard. |
The IEEE_ARITHMETIC intrinsic module also defines the following operators:
Elemental operator = = for two values of one of the above types to return true if the values are the same; otherwise, false.
Elemental operator /= for two values of one of the above types to return true if the values differ; otherwise, false.
The IEEE_ARITHMETIC module includes support for IEEE_EXCEPTIONS module, and public entities in IEEE_EXCEPTIONS module are also public in the IEEE_ARITHMETIC module.
To see a summary of all the IEEE_ARITHMETIC intrinsic procedures, see IEEE Intrinsic Modules Quick Reference Tables