Visible to Intel only — GUID: GUID-FEDC85F0-78D9-4FAA-9136-01B2C243CCD4
Visible to Intel only — GUID: GUID-FEDC85F0-78D9-4FAA-9136-01B2C243CCD4
IEEE_UNORDERED
Elemental Module Intrinsic Function (Generic): Returns whether one or more of the arguments is Not-a-Number (NaN). This is equivalent to the IEEE unordered function.
Module
USE, INTRINSIC :: IEEE_ARITHMETIC
result = IEEE_UNORDERED (x,y)
x |
(Input) Must be of type REAL. |
y |
(Input) Must be of type REAL. |
Results
The result type is default logical. The result has the value true if x or y is a NaN, or both are NaNs; otherwise, false.
Example
IEEE_UNORDERED (0.0, SQRT(-2.0)) has the value true if IEEE_SUPPORT_SQRT (2.0) has the value true.