6.5 Predefined Presentation Types
6.5.2 Numeric Presentation Types
The following presentation types represent the Common Lisp numeric types of the same name. number [Presentation Type]
- Summary:
- The presentation type that represents a general number. It is the supertype of all the number types described here.
complex [Presentation Type]
- Summary:
- The presentation type that represents a complex number.
rational [Presentation Type]
- 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 [Presentation Type]
- 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 [Presentation Type]
- 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 [Presentation Type]
- Arguments:
&optional
low high.
- The presentation type that represents a floating point number between low and high.
CLIM 2.0 User's Guide - OCT 1998 Generated with Harlequin WebMaker