rational (original) (raw)
ANSI Common Lisp 12 Numbers
12.2 Dictionary of Numbers
12.2.6 rational | System Class |
---|
Class Precedence List:
Description:
The canonical representation of a _rational_is as an integer if its value is integral, and otherwise as a ratio.
The types integer and ratioare disjoint subtypes of type rational.
Compound Type Specifier Kind:
Abbreviating.
Compound Type Specifier Syntax:
(rational [lower-limit [upper-limit)]]
Compound Type Specifier Arguments:
lower-limit, upper-limit - interval designators for type rational. The defaults for each of lower-limit and upper-limit is the symbol *.
Compound Type Specifier Description:
This denotes the rationals on the interval described by_lower-limit_ and upper-limit.
Allegro CL Implementation Details:
None.