All Manuals > Common Lisp Interface Manager 2.0 User's Guide > Chapter 6 Presentation Types > 6.5 Predefined Presentation Types

NextPrevUpTopContentsIndex

6.5.2 Numeric Presentation Types

The following presentation types represent the Common Lisp numeric types of the same name.

number

Summary: The presentation type that represents a general number. It is the supertype of all the number types described here.

complex

Summary: The presentation type that represents a complex number.

rational

Arguments: &optional low high

Summary: The presentation type that represents either a ratio or an integer between low and high. Options to this type are base and radix, which are the same as for the integer type.

integer 

Arguments: &optional low high

Summary: The presentation type that represents an integer between low and high. Options to this type are base (default 10 ) and radix (default nil ), which correspond to *print-base* and *print-radix* , respectively. It is a subtype of rational .

ratio

Arguments: &optional low high.

The presentation type that represents a ratio between low and high. Options to this type are base and radix, which are the same as for the integer type. It is a subtype of rational .

float

Arguments: &optional low high.

The presentation type that represents a floating point number between low and high.


Common Lisp Interface Manager 2.0 User's Guide - 3 Mar 2015

NextPrevUpTopContentsIndex