Intel® Fortran Compiler 16.0 User and Reference Guide

IEEE_SUPPORT_DATATYPE

Inquiry Module Intrinsic Function (Generic): Returns whether the processor supports IEEE arithmetic.

Module

USE, INTRINSIC :: IEEE_ARITHMETIC

result = IEEE_SUPPORT_DATATYPE ([x])

x

(Input; optional) Must be scalar and of type REAL.

Results

The result is a scalar of type default logical. If x is omitted, the result has the value true if the processor supports IEEE arithmetic for all real values; otherwise, false.

If x is specified, the result has the value true if the processor supports IEEE arithmetic for real variables of the same kind type parameter as x; otherwise, false.

If real values are implemented according to the IEEE standard except that underflowed values flush to zero (abrupt) instead of being denormal.

Example

IEEE_SUPPORT_DATATYPE (3.0) has the value true.

See Also