summaryrefslogtreecommitdiffstats
path: root/Doc/ref2.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-03-16 14:44:07 (GMT)
committerGuido van Rossum <guido@python.org>1995-03-16 14:44:07 (GMT)
commita54754719d5f44a898b549ae8ad6940f5a04ed42 (patch)
treec7855f7c1e0f55eab99ddf6e7e58523daae8b564 /Doc/ref2.tex
parenta521c1b751c631049a052d9e8103f355b1c1b248 (diff)
downloadcpython-a54754719d5f44a898b549ae8ad6940f5a04ed42.zip
cpython-a54754719d5f44a898b549ae8ad6940f5a04ed42.tar.gz
cpython-a54754719d5f44a898b549ae8ad6940f5a04ed42.tar.bz2
made palatable for latex2html:
removed $math$, added braces to \item[\tt...]
Diffstat (limited to 'Doc/ref2.tex')
-rw-r--r--Doc/ref2.tex11
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/ref2.tex b/Doc/ref2.tex
index b9593b8..2757ab1 100644
--- a/Doc/ref2.tex
+++ b/Doc/ref2.tex
@@ -294,11 +294,12 @@ Although both lower case `l' and upper case `L' are allowed as suffix
for long integers, it is strongly recommended to always use `L', since
the letter `l' looks too much like the digit `1'.
-Plain integer decimal literals must be at most $2^{31} - 1$ (i.e., the
-largest positive integer, assuming 32-bit arithmetic). Plain octal and
-hexadecimal literals may be as large as $2^{32} - 1$, but values
-larger than $2^{31} - 1$ are converted to a negative value by
-subtracting $2^{32}$. There is no limit for long integer literals.
+Plain integer decimal literals must be at most 2147483647 (i.e., the
+largest positive integer, using 32-bit arithmetic). Plain octal and
+hexadecimal literals may be as large as 4294967295, but values larger
+than 2147483647 are converted to a negative value by subtracting
+4294967296. There is no limit for long integer literals apart from
+what can be stored in available memory.
Some examples of plain and long integer literals: