ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   12 Numbers   12.2 Dictionary of Numbers

12.2.8 integer System Class

Class Precedence List:
integer, rational, real, number, t

An integer is a mathematical integer. There is no limit on the magnitude of an integer.

The types fixnum and bignum form an exhaustive partition of type integer.

Compound Type Specifier Kind:

Compound Type Specifier Syntax:
(integer [lower-limit [upper-limit)]]

Compound Type Specifier Arguments:
lower-limit, upper-limit - interval designators for type integer. The defaults for each of lower-limit and upper-limit is the symbol *.

Compound Type Specifier Description:
This denotes the integers on the interval described by lower-limit and upper-limit.

See Also:
Figure 2.3.1 Numbers as Tokens, Section 2.3.2 Constructing Numbers from Tokens, Section Printing Integers

The type (integer lower upper), where lower and upper are most-negative-fixnum and most-positive-fixnum, respectively, is also called fixnum.

The type (integer 0 1) is also called bit. The type (integer 0 *) is also called unsigned-byte.

Allegro CL Implementation Details:

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2012 - File last updated 02-24-2012