Visible to Intel only — GUID: GUID-55885422-2E8B-4854-99FE-972F7EEF869F
Visible to Intel only — GUID: GUID-55885422-2E8B-4854-99FE-972F7EEF869F
IEEE_CLASS
Elemental Module Intrinsic Function (Generic): Returns the IEEE class.
Module
USE, INTRINSIC :: IEEE_ARITHMETIC
result = IEEE_CLASS (x)
x |
(Input) Must be of type REAL. |
Results
The result is of type TYPE(IEEE_CLASS_TYPE). The result value is one of the following:
IEEE_SIGNALING_NAN |
IEEE_POSITIVE_DENORMAL |
IEEE_QUIET_NAN |
IEEE_NEGATIVE_DENORMAL |
IEEE_POSITIVE_INF |
IEEE_POSITIVE_SUBNORMAL |
IEEE_NEGATIVE_INF |
IEEE_NEGATIVE_SUBNORMAL |
IEEE_POSITIVE_NORMAL |
IEEE_POSITIVE_ZERO |
IEEE_NEGATIVE_NORMAL |
IEEE_NEGATIVE_ZERO |
IEEE_ POSITIVE_DENORMAL and IEEE_POSITIVE_SUBNORMAL are defined with the same value, and IEEE_NEGATIVE_DENORMAL and IEEE_NEGATIVE_SUBNORMAL are defined with the same value.
IEEE_CLASS does not return IEEE_OTHER_VALUE in Intel® Fortran.
Example
IEEE_CLASS(1.0) has the value IEEE_POSITIVE_NORMAL.