Intel® Fortran Compiler 16.0 User and Reference Guide

IEEE_SUPPORT_HALTING

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

Module

USE, INTRINSIC :: IEEE_EXCEPTIONS

result = IEEE_SUPPORT_HALTING(flag)

flag

(Input) Must be of type TYPE (IEEE_FLAG_TYPE). It specifies one of the following IEEE flags:

IEEE_DIVIDE_BY_ZERO, IEEE_INEXACT, IEEE_INVALID, IEEE_OVERFLOW, or IEEE_UNDERFLOW.

Results

The result is a scalar of type default logical. The result has the value true if the processor supports the ability to control halting after the exception specified by "flag"; otherwise, false.

Example

IEEE_SUPPORT_HALTING (IEEE_UNDERFLOW) has the value true if halting is supported after an IEEE_UNDERFLOW exception

See Also