Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

IEEE_SUPPORT_DENORMAL

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

Module

USE, INTRINSIC :: IEEE_ARITHMETIC

result = IEEE_SUPPORT_DENORMAL ([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 arithmetic operations and assignments with subnormal numbers for all real values; otherwise, false.

If x is specified, the result has the value true if the processor supports arithmetic operations and assignments with subnormal numbers for real variables of the same kind type parameter as x; otherwise, false.

IEEE_SUPPORT_DENORMAL() and IEEE_SUPPORT_DENORMAL(0.0_16) return .TRUE. even though Intel® Fortran’s implementation does not signal when an underflow results in a REAL(16) denormal value. Intel® Fortran’s implementation does signal when an underflow results in a REAL(16) zero.

NOTE:

IEEE_SUPPORT_DENORMAL returns the same result as IEEE_SUPPORT_SUBNORMAL with the same argument list.

Example

IEEE_SUPPORT_DENORMAL () has the value true if IEEE subnormal numbers are supported for all real types.