Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
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: