Intel® Fortran Compiler 17.0 Developer Guide and Reference

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)