Visible to Intel only — GUID: GUID-809AF597-8125-4BFB-AB52-BEB51CF117F6
Visible to Intel only — GUID: GUID-809AF597-8125-4BFB-AB52-BEB51CF117F6
IEEE_QUIET_NE
Elemental Module Intrinsic Function (Generic): Performs a non-signaling comparison for inequality. This is equivalent to the IEEE compareQuietNotEqual operation.
Module
USE, INTRINSIC :: IEEE_ARITHMETIC
result = IEEE_QUIET_NE (a,b)
a |
(Input) Must be of type REAL. |
b |
(Input) Must be of type REAL with the same kind type parameter as a. |
Results
The result type is default LOGICAL. It has the value true if a compares not equal to b. If a or b is a NaN, the result is true. IEEE_INVALID signals if either a or b is a signaling NaN, otherwise no exception is signaled.
This is the compareQuietNotEqual operation specified as specified in the ISO/IEC/IEEE 60559:2011 standard.
Example
The result value of IEEE_QUIET_NE (3.7, IEEE_VALUE (0.0, IEEE_QUIET_NAN)) is true and no exception is signaled.