Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-0D05F0F8-8193-409D-889C-A98392823BFB
Visible to Intel only — GUID: GUID-0D05F0F8-8193-409D-889C-A98392823BFB
Model for Integer Data
In general, the model set for integers is defined as follows:
The following values apply to this model set:
i is the integer value.
s is the sign (either +1 or -1).
q is the number of digits (a positive integer).
r is the radix (an integer greater than 1).
wk is a nonnegative number less than r.
The model for INTEGER(4) follows:
The following example shows the general integer model for i = -20 using a base (r) of 2: