Visible to Intel only — GUID: GUID-B768D452-4B3A-41F8-85D9-01F971B032E6
Visible to Intel only — GUID: GUID-B768D452-4B3A-41F8-85D9-01F971B032E6
IEEE_SUPPORT_ROUNDING
Transformational Module Intrinsic Function (Generic): Returns whether the processor supports IEEE rounding mode.
USE, INTRINSIC :: IEEE_ARITHMETIC
result = IEEE_SUPPORT_ROUNDING (round_value [, x])
round_value |
(Input) Must be of type TYPE(IEEE_ROUND_TYPE). It specifies one of the following rounding modes: IEEE_AWAY, IEEE_DOWN, IEEE_NEAREST, IEEE_TO_ZERO, and IEEE_UP. |
x |
(Input; optional) Must be of type REAL; it can be scalar or array valued. |
The result is a scalar of type default logical. If x is omitted, the result has the value true if the processor supports the rounding mode specified by round_value for all real values; otherwise, false.
If x is specified, the result has the value true if the processor supports the rounding mode specified by round_value for real variables of the same kind type parameter as x; otherwise, false.
IEEE_SUPPORT_ROUNDING (IEEE_DOWN) has the value true if rounding mode IEEE_DOWN is supported for all real types.