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).*w(k)*is a nonnegative number less than*r*.

The model for INTEGER(4) is as follows:

The following example demonstrates the general integer model for
*i* = -20 using a base (*r*) of 2:

*i* = (-1) x (0 x 2^{0} + 0 x 2^{1} + 1 x 2^{2} + 0 x 2^{3} + 1 x 2^{4})

*i* = (-1) x (4 + 16)

*i* = -1 x 20

*i* = -20

Previous Page Next Page Table of Contents