Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 9/08/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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: