changeset 10559:dcb43c6d4c42

Integer width changes.
author Richard M. Stallman <rms@gnu.org>
date Fri, 27 Jan 1995 01:43:02 +0000
parents fbfd717ff79b
children fd09d51dfd77
files lispref/objects.texi
diffstat 1 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/objects.texi	Fri Jan 27 01:41:28 1995 +0000
+++ b/lispref/objects.texi	Fri Jan 27 01:43:02 1995 +0000
@@ -150,25 +150,25 @@
 @node Integer Type
 @subsection Integer Type
 
-  Integers were the only kind of number in Emacs version 18.  The range
-of values for integers is @minus{}8388608 to 8388607 (24 bits; i.e.,
+  The range of values for integers in Emacs Lisp is @minus{}134217728 to
+134217727 (28 bits; i.e.,
 @ifinfo
--2**23
+-2**27
 @end ifinfo
 @tex
-$-2^{23}$
+$-2^{27}$
 @end tex
 to
 @ifinfo
-2**23 - 1)
+2**27 - 1)
 @end ifinfo
 @tex
-$2^{23}-1$)
+$2^{28}-1$)
 @end tex
-on most machines, but is 25 or 26 bits on some systems.  It is important
-to note that the Emacs Lisp arithmetic functions do not check for
-overflow.  Thus @code{(1+ 8388607)} is @minus{}8388608 on 24-bit
-implementations.@refill
+on most machines.  (Some machines may provide a wider range.)  It is
+important to note that the Emacs Lisp arithmetic functions do not check
+for overflow.  Thus @code{(1+ 134217727)} is @minus{}134217728 on most
+machines.
 
   The read syntax for integers is a sequence of (base ten) digits with an
 optional sign at the beginning and an optional period at the end.  The
@@ -181,8 +181,8 @@
 1                ; @r{The integer 1.}
 1.               ; @r{Also The integer 1.}
 +1               ; @r{Also the integer 1.}
-16777217         ; @r{Also the integer 1!} 
-                 ; @r{  (on a 24-bit or 25-bit implementation)}
+268435457        ; @r{Also the integer 1!} 
+                 ; @r{  (on a 28-bit implementation)}
 @end group
 @end example