Developer Guide and Reference

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

IEEE_SUPPORT_DIVIDE

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

Module

USE, INTRINSIC :: IEEE_ARITHMETIC

result = IEEE_SUPPORT_DIVIDE ([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 divide with the accuracy specified by the IEEE standard for all real values; otherwise, false.

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

Example

IEEE_SUPPORT_DIVIDE ( ) has the value true if IEEE divide is supported for all real types.