2 Syntax 2.3 Interpretation of Tokens 2.3.2 Constructing Numbers from Tokens 188.8.131.52 Syntax of a Rational
184.108.40.206.1 Syntax of an Integer
Integers can be written as a sequence of digits,
optionally preceded by a sign and optionally followed by a decimal point;
see Figure 2.3.1 Numbers as Tokens.
When a decimal point is used,
the digits are taken to be in radix 10;
when no decimal point is used,
the digits are taken to be in radix given by the current input base.
For information on how integers are printed, see Section 220.127.116.11.1 Printing Integers.