HP Fortran Programmer's Reference (September 2007)

Data types and data objects
Intrinsic data types
Chapter 5 109
Type declaration for intrinsic types
The following is the general form of a type declaration statement for the intrinsic data types:
type-spec
[[,
attribute-spec
] ... :: ]
entity-list
type-spec
is one of :
INTEGER [
kind-selector
]
REAL [
kind-selector
]
DOUBLE PRECISION [
kind-selector
]
CHARACTER [
char-selector
]
LOGICAL [
kind-selector
]
COMPLEX [kind-selector]
DOUBLE COMPLEX
BYTE
BYTE and DOUBLE COMPLEX are HP extensions. BYTE is equivalent to
INTEGER(KIND=1). DOUBLE PRECISION is equivalent to REAL(KIND=8), and
DOUBLE COMPLEX is equivalent to COMPLEX(KIND=8), except when +autodbl
COMPLEX(8) Same as for REAL(8) Same as for
REAL(8)
16 8
DOUBLE
COMPLEX
Same as for REAL(8) Same as for
REAL(8)
16 8
CHARACTER(1)
(default)
ASCII character set
Not applicable
11
LOGICAL(1) .TRUE. and .FALSE. Not applicable 1 1
LOGICAL(2) .TRUE. and .FALSE. Not applicable 2 2
LOGICAL(4)
(default)
.TRUE. and .FALSE.
Not applicable
44
LOGICAL(8) .TRUE. and .FALSE. Not applicable 8 8
Table 5-1 Intrinsic data types (Continued)