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

ID 767251
Date 3/22/2024
Public

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

Document Table of Contents

Round Editing

The round editing descriptors temporarily change the I/O rounding mode for a connection.

These forms of rounding correspond to the ROUND= specifier values UP, DOWN, ZERO, NEAREST, COMPATIBLE, and PROCESSOR DEFINED, respectively. Rounding conforms to the ISO/IEC/IEEE 60559:2011 standard.

The I/O rounding mode affects the conversion of real and complex values in formatted I/O. It affects only D, E, EN, ES, EX, F, and G editing.

Each descriptor continues to be in effect until a different round editing descriptor is encountered or until the end of the current I/O statement.