9.1 ISO_FORTRAN_ENV
- Standard:
- Fortran 2003 and later;
INT8
, INT16
, INT32
, INT64
,
REAL32
, REAL64
, REAL128
are Fortran 2008 or later
The ISO_FORTRAN_ENV
module provides the following scalar default-integer
named constants:
CHARACTER_STORAGE_SIZE
:- Size in bits of the character storage unit.
ERROR_UNIT
:- Identifies the preconnected unit used for error reporting.
FILE_STORAGE_SIZE
:- Size in bits of the file-storage unit.
INPUT_UNIT
:- Identifies the preconnected unit identified by the asterisk
(
*
) in READ
statement.
INT8
, INT16
, INT32
, INT64
- Kind type parameters to specify an INTEGER type with a storage
size of 16, 32, and 64 bits. It is negative if a target platform
does not support the particular kind.
IOSTAT_END
:- The value assigned to the variable passed to the IOSTAT= specifier of
an input/output statement if an end-of-file condition occurred.
IOSTAT_EOR
:- The value assigned to the variable passed to the IOSTAT= specifier of
an input/output statement if an end-of-record condition occurred.
NUMERIC_STORAGE_SIZE
:- The size in bits of the numeric storage unit.
OUTPUT_UNIT
:- Identifies the preconnected unit identified by the asterisk
(
*
) in WRITE
statement.
REAL32
, REAL64
, REAL128
- Kind type parameters to specify a REAL type with a storage
size of 32, 64, and 128 bits. It is negative if a target platform
does not support the particular kind.