IntelĀ® Fortran Compiler 18.0 Developer Guide and Reference

Intrinsic Data Types

Intel® Fortran provides the following intrinsic data types:

The intrinsic function KIND can be used to determine the kind type parameter of a representation method.

For more portable programs, you should not use the forms INTEGER([KIND=]n) or REAL([KIND=]n). You should instead define a PARAMETER constant using the SELECTED_INT_KIND or SELECTED_REAL_KIND function, whichever is appropriate. For example, the following statements define a PARAMETER constant for an INTEGER kind that has 9 digits:

  INTEGER, PARAMETER :: MY_INT_KIND = SELECTED_INT_KIND(9)
    ...
  INTEGER(MY_INT_KIND) :: J
    ...

Note that the syntax :: is used in type declaration statements.

The following sections describe the intrinsic data types and forms for literal constants for each type.

See Also