Integer Data Representations

Integer data lengths can be 1-, 2-, 4-, or 8-bytes in length.

The default data size used for an INTEGER data declaration is INTEGER(4) (same as INTEGER(KIND=4)), unless the /integer_size:16 or the /integer_size:64 option was specified.

Integer data is signed with the sign bit being 0 (zero) for positive numbers and 1 for negative numbers.

The following sections discuss integer data: