Loading...
Searching...
No Matches
evaluate_kinds

Definition

Provides constants for defining standard integer, real and complex values.

Examples

The following example demonstrates some of the constants found in the evaluate_kinds module.

real(r8) a :: 0.0_r8
integer(i4) i :: 1_i4

Remarks

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 c4 = real32
 single precision, 32-bit real constant deriving from the real32 intrinsic constant of the iso_fortran_env module
 
integer, parameter, public c8 = real64
 double precision, 64-bit real constant deriving from the real64 intrinsic constant of the iso_fortran_env module