Technical data
24
Chapter 2: Storage Mapping
Alignment, Size, and Value Ranges
Table 2-1 contains information about various data types.
a. Byte boundary divisible by two.
b. When –i2 option is used, type INTEGER would be equivalent to INTEGER*2.
c. Byte boundary divisible by four.
d. When –i2 option is used, type LOGICAL would be equivalent to LOGICAL*2.
e. Byte boundary divisible by eight.
Table 2-1 Size, Alignment, and Value Ranges of Data Types
Type Synonym Size Alignment Value Range
BYTE INTEGER*1 8 bits Byte –128…127
INTEGER*2 16 bits Half word
a
–32,768…32,
767
INTEGER INTEGER*4
b
32 bits Word
c
–2
31
…2
31
–
1
LOGICAL*1 8 bits Byte 0…1
LOGICAL*2 16 bits Half word
a
0…1
LOGICAL LOGICAL*4
d
32 bits Word
c
0…1
REAL REAL*4 32 bits Word
c
See the first
note below
DOUBLE
PRECISION
REAL*8 64 bits Double word
e
See the first
note below
COMPLEX COMPLEX*8 64 bits Word
c
DOUBLE
COMPLEX
128 bits Double word
e
CHARACTER 8 bits Byte –128…127










