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.10 unsigned-byte Type

unsigned-byte, signed-byte, integer, rational, real, number, t

The atomic type specifier unsigned-byte denotes the same type as is denoted by the type specifier (integer 0 *).

Compound Type Specifier Kind:

Compound Type Specifier Syntax:
(unsigned-byte [s | *])

Compound Type Specifier Arguments:
s - a positive integer.

Compound Type Specifier Description:
This denotes the set of non-negative integers that can be represented in a byte of size s (bits). This is equivalent to (mod m) for m=2s, or to (integer 0 n) for n=2s-1. The type unsigned-byte or the type (unsigned-byte *) is the same as the type (integer 0 *), the set of non-negative integers.

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

Allegro CL Implementation Details:

Home Previous Up Next Table of Contents Index
© Franz Inc. All Rights Reserved - File last updated 2022-07-25