Visible to Intel only — GUID: GUID-D8C80088-36F5-4A40-80AF-30D7EF4CD77A
Visible to Intel only — GUID: GUID-D8C80088-36F5-4A40-80AF-30D7EF4CD77A
IEEE_SIGNALING_EQ
Elemental Module Intrinsic Function (Generic): Performs a signaling comparison for equality. This is equivalent to the IEEE compareSignalingEqual operation.
Module
USE, INTRINSIC :: IEEE_ARITHMETIC
result = IEEE_SIGNALING_EQ (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 equal to b. If a or b is a NaN, the result is false and IEEE_INVALID signals, otherwise no exception is signaled.
This is the compareSignalingEqual operation as specified in the ISO/IEC 60559:2020 standard.
Example
The result value of IEEE_SIGNALING_EQ (3.7, IEEE_VALUE (0.0, IEEE_QUIET_NAN)) is false and IEEE_INVALID is signaled.