Provides constants for defining standard integer and real values.
The following example demonstrates some of the constants found in the benchmark_kinds module.
The constants are coming from the intrinsic module iso_fortran_env
. If the compiler does not provide such intrinsic module then the compilation will fail.
Parameters | |
integer, parameter, public | i1 = int8 |
8-bit integer constant deriving from the int8 intrinsic constant of the iso_fortran_env module | |
integer, parameter, public | i2 = int16 |
16-bit integer constant deriving from the int16 intrinsic constant of the iso_fortran_env module | |
integer, parameter, public | i4 = int32 |
32-bit integer constant deriving from the int32 intrinsic constant of the iso_fortran_env module | |
integer, parameter, public | i8 = int64 |
64-bit integer constant deriving from the int64 intrinsic constant of the iso_fortran_env module | |
integer, parameter, public | r4 = real32 |
single precision, 32-bit real constant deriving from the real32 intrinsic constant of the iso_fortran_env module | |
integer, parameter, public | r8 = real64 |
double precision, 64-bit real constant deriving from the real64 intrinsic constant of the iso_fortran_env module | |
integer, parameter, public | r16 = real128 |
quadruple precision, 128-bit real constant deriving from the real128 intrinsic constant of the iso_fortran_env module | |