Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-439BBCB4-E2B5-4710-AAB0-8EAD2ACE769C
Visible to Intel only — GUID: GUID-439BBCB4-E2B5-4710-AAB0-8EAD2ACE769C
IEEE_IS_NAN
Elemental Module Intrinsic Function (Generic): Returns whether an IEEE value is Not-a-Number (NaN).
Module
USE, INTRINSIC :: IEEE_ARITHMETIC
result = IEEE_IS_NAN (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 NaN; otherwise, false.
Example
IEEE_IS_NAN (SQRT(-2.0)) has the value true if IEEE_SUPPORT_SQRT (2.0) has the value true.