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

ID 767251
Date 7/13/2023
Public

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

Document Table of Contents

Default Widths for Data Edit Descriptors

If w (the field width) is omitted for the data edit descriptors, the system applies default values. For the real data edit descriptors, the system also applies default values for d (the number of characters to the right of the decimal point), and e (the number of characters in the exponent).

These defaults are based on the data type of the I/O list item, and are listed in the following table:

Default Widths for Data Edit Descriptors

Edit Descriptor

Data Type of I/O List Item

w

I, B, O, Z, G

BYTE

7

INTEGER(1), LOGICAL(1)

7

INTEGER(2), LOGICAL(2)

7

INTEGER(4), LOGICAL(4)

12

INTEGER(8), LOGICAL(8)

23

O, Z

REAL(4)

12

REAL(8)

23

REAL(16)

44

CHARACTER*len

MAX(7, 3*len)

L, G

LOGICAL(1), LOGICAL(2), LOGICAL(4), LOGICAL(8)

2

F, E, ES, G, D

REAL(4), COMPLEX(4)

15 d: 7 e: 2

REAL(8), COMPLEX(8)

25 d: 16 e: 2

REAL(16), COMPLEX(16)

42 d: 33 e: 3

EN

REAL(4), COMPLEX(4)

15 d: 6 e: 2

REAL(8), COMPLEX(8)

25 d: 16 e: 2

REAL(16), COMPLEX(16)

42 d: 32 e: 3

A1, G

LOGICAL(1)

1

LOGICAL(2), INTEGER(2)

2

LOGICAL(4), INTEGER(4)

4

LOGICAL(8), INTEGER(8)

8

REAL(4), COMPLEX(4)

4

REAL(8), COMPLEX(8)

8

REAL(16), COMPLEX(16)

16

CHARACTER*len

len

1 The default is the actual length of the corresponding I/O list item.