CLHS: Section 2.3.2

#

## 2.3.2 Constructing Numbers from Tokens

A real is constructed directly from a corresponding numeric token; see Figure 2-9.

A complex is notated as a `#C` (or `#c`) followed by a list of two reals; see Section 2.4.8.11 (Sharpsign C).

The reader macros `#B`, `#O`, `#X`, and `#R` may also be useful in controlling the input radix in which rationals are parsed; see Section 2.4.8.7 (Sharpsign B), Section 2.4.8.8 (Sharpsign O), Section 2.4.8.9 (Sharpsign X), and Section 2.4.8.10 (Sharpsign R).

This section summarizes the full syntax for numbers.

## 2.3.2.1 Syntax of a Rational

## 2.3.2.2 Syntax of a Float

## 2.3.2.3 Syntax of a Complex

Copyright 1996-2001, Xanalys Inc. All rights reserved.