Visible to Intel only — GUID: GUID-4C005EAB-2E3E-4F77-98C2-7F854573C2FB
Visible to Intel only — GUID: GUID-4C005EAB-2E3E-4F77-98C2-7F854573C2FB
IEEE_SIGNALING_LE
Elemental Module Intrinsic Function (Generic): Performs a signaling comparison for less than or equal. This is equivalent to the IEEE compareSignalingLessEqual operation.
Module
USE, INTRINSIC :: IEEE_ARITHMETIC
result = IEEE_SIGNALING_LE (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 less than or 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 compareSignalingLessEqual operation as specified in the ISO/IEC/IEEE 60559:2011 standard.
Example
The result value of IEEE_SIGNALING_LE (3.7, IEEE_VALUE (0.0, IEEE_QUIET_NAN)) is false and IEEE_INVALID is signaled.