Developer Guide and Reference

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

IEEE_SUPPORT_STANDARD

Inquiry Module Intrinsic Function (Generic): Returns whether the processor supports IEEE features defined in the standard.

Module

USE, INTRINSIC :: IEEE_ARITHMETIC

result = IEEE_SUPPORT_STANDARD ([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. The result has the value true if the results of all the following functions are true (x can be omitted):

IEEE_SUPPORT_DATATYPE([x])

IEEE_SUPPORT_DIVIDE([x])

IEEE_SUPPORT_FLAG(flag [, x])1

IEEE_SUPPORT_HALTING(flag)1

IEEE_SUPPORT_INF([x])

IEEE_SUPPORT_NAN([x])

IEEE_SUPPORT_ROUNDING(round_value [, x])2

IEEE_SUPPORT_SQRT([x])

IEEE_SUPPORT_SUBNORMAL([x]) or IEEE_SUPPORT_DENORMAL)[x])3

1 "flag" must be a valid value

2 "round_value" must be a valid value

3 IEEE_SUPPORT_SUBNORMAL and IEEE_SUPPORT_DENORMAL return the same results if called with the same argument list.

Otherwise, the result has the value, false.

Example

IEEE_SUPPORT_STANDARD () has the value false if both IEEE and non-IEEE real kinds are supported.