FORTRAN Reference Manual
Language Elements
FORTRAN Reference Manual—528615-001
2-8
Data Types
The data types INTEGER*4 and INTEGER*8, and the compiler directives INTEGER*4,
INTEGER*8, and LOGICAL*4 enable you to allocate additional storage for large
integers and logical type data.
Figure 2-1 on page 2-9 shows the storage allocated for each type.
Table 2-2. FORTRAN Data Types
Type Range/Storage Precision (digits)
Integer*2 -32,768 +32,767
Integer*4 -2,147,483,648
+2,147,438,647
Integer*8 -9,223,372,036,854,775,808
+9,223,372,036,854,775,807
Real ±8.646000 E-78
±1.579208 E+77
6.9
Double Precision\ ±8.6361685550944446 E-78
±1.15792089237316189 E+77
16.5
Complex ±8.6361685550944446 E-78
±1.15792089237316189 E+77
6.9
Logical*2 (default) word storage
Logical*4 (directive) doubleword storage
Character 255 string length
1/2 word per character










