Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public
Document Table of Contents

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 subnormal.

Example

IEEE_SUPPORT_DATATYPE (3.0) has the value true.