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

ID 767251
Date 9/08/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

IEEE_SUPPORT_HALTING

Transformational 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