# IEEE_SUPPORT_ROUNDING

Transformational Module Intrinsic Function (Generic): Returns whether the processor supports IEEE rounding mode.

## Module

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.

## Results

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.

## Example

IEEE_SUPPORT_ROUNDING (IEEE_DOWN) has the value true if rounding mode IEEE_DOWN is supported for all real types.

Parent topic: H to I

## See Also

IEEE_ARITHMETIC Intrinsic Module
IEEE Intrinsic Modules Quick Reference Tables