[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/objects.texi
From: |
Luc Teirlinck |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/objects.texi |
Date: |
Tue, 21 Oct 2003 22:46:08 -0400 |
Index: emacs/lispref/objects.texi
diff -c emacs/lispref/objects.texi:1.37 emacs/lispref/objects.texi:1.38
*** emacs/lispref/objects.texi:1.37 Mon Sep 1 11:45:41 2003
--- emacs/lispref/objects.texi Tue Oct 21 22:46:08 2003
***************
*** 161,184 ****
@node Integer Type
@subsection Integer Type
! The range of values for integers in Emacs Lisp is @minus{}134217728 to
! 134217727 (28 bits; i.e.,
@ifnottex
! -2**27
@end ifnottex
@tex
! @math{-2^{27}}
@end tex
to
@ifnottex
! 2**27 - 1)
@end ifnottex
@tex
@math{2^{28}-1})
@end tex
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
--- 161,184 ----
@node Integer Type
@subsection Integer Type
! The range of values for integers in Emacs Lisp is @minus{}268435456 to
! 268435455 (29 bits; i.e.,
@ifnottex
! -2**28
@end ifnottex
@tex
! @math{-2^{28}}
@end tex
to
@ifnottex
! 2**28 - 1)
@end ifnottex
@tex
@math{2^{28}-1})
@end tex
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+ 268435455)} is @minus{}268435456 on most
machines.
The read syntax for integers is a sequence of (base ten) digits with an
***************
*** 192,198 ****
1 ; @r{The integer 1.}
1. ; @r{Also the integer 1.}
+1 ; @r{Also the integer 1.}
! 268435457 ; @r{Also the integer 1 on a 28-bit implementation.}
@end group
@end example
--- 192,198 ----
1 ; @r{The integer 1.}
1. ; @r{Also the integer 1.}
+1 ; @r{Also the integer 1.}
! 536870913 ; @r{Also the integer 1 on a 29-bit implementation.}
@end group
@end example
***************
*** 365,373 ****
@ifnottex
2**27
@end ifnottex
! bit set (which on most machines makes it a negative number). We
! use high bits for this and other modifiers to make possible a wide range
! of basic character codes.
In a string, the
@tex
--- 365,372 ----
@ifnottex
2**27
@end ifnottex
! bit set. We use high bits for this and other modifiers to make
! possible a wide range of basic character codes.
In a string, the
@tex
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lispref/objects.texi,
Luc Teirlinck <=