Visible to Intel only — GUID: GUID-0436A47A-8E77-4AD6-AD10-15DBC178FD82
Visible to Intel only — GUID: GUID-0436A47A-8E77-4AD6-AD10-15DBC178FD82
IEEE_IS_FINITE
Elemental Module Intrinsic Function (Generic): Returns whether an IEEE value is finite.
Module
USE, INTRINSIC :: IEEE_ARITHMETIC
result = IEEE_IS_FINITE (x)
x |
(Input) Must be of type REAL. |
Results
The result type is default logical. The result has the value true if the value of x is finite; otherwise, false.
An IEEE value is finite if IEEE_CLASS(x) has one of the following values:
IEEE_POSITIVE_NORMAL |
IEEE_NEGATIVE_DENORMAL |
IEEE_NEGATIVE_NORMAL |
IEEE_POSITIVE_ZERO |
IEEE_POSITIVE_DENORMAL |
IEEE_NEGATIVE_ZERO |
Example
IEEE_IS_FINITE (-2.0) has the value true.