Intel® Fortran Compiler XE 13.1 User and Reference Guides

INTEGER(KIND=2) Representation

INTEGER(2) values range from -32,768 to 32,767 and are stored in 2 contiguous bytes, as shown below:

INTEGER(2) Data Representation
INTEGER(2) Data Representation

Integers are stored in a two's complement representation. For example:

+22 == 0016 (hex)
 -7 == FFF9 (hex)

Submit feedback on this help topic