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

ID 767251
Date 11/07/2023
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_IO

Inquiry Module Intrinsic Function (Generic): Returns whether the processor supports IEEE base conversion rounding during formatted I/O.

Module

USE, INTRINSIC :: IEEE_ARITHMETIC

result = IEEE_SUPPORT_IO ([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 base conversion rounding during formatted input and output for all real values; otherwise, false.

If x is specified, the result has the value true if the processor supports base conversion rounding during formatted input and output for real variables of the same kind type parameter as x; otherwise, false.

The base conversion rounding applies to modes IEEE_UP, IEEE_DOWN, IEEE_TO_ZERO, and IEEE_NEAREST.

Example

IEEE_SUPPORT_IO ( ) has the value true if base conversion rounding is supported for all real types during formatted I/O.