Intel® Fortran Compiler 16.0 User and Reference Guide

IEEE_SUPPORT_INF

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

Module

USE, INTRINSIC :: IEEE_ARITHMETIC

result = IEEE_SUPPORT_INF ([x])

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 IEEE infinities (positive and negative) for all real values; otherwise, false.

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

Example

IEEE_SUPPORT_INF( ) has the value true if IEEE infinities are supported for all real types.

See Also