* objects.texi (Integer Type): Take note of the read syntax exception for numbers that cannot fit in the integer type.

This commit is contained in:
Chong Yidong 2010-03-06 15:27:19 -05:00
parent 17782becc5
commit eed5c93a4c
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2010-03-06 Chong Yidong <cyd@stupidchicken.com>
* objects.texi (Integer Type): Take note of the read syntax
exception for numbers that cannot fit in the integer type.
2010-03-03 Glenn Morris <rgm@gnu.org>
* numbers.texi (Integer Basics, Bitwise Operations):

View file

@ -200,6 +200,13 @@ leading @samp{+} or a final @samp{.}.
@end group
@end example
@noindent
As a special exception, if a sequence of digits specifies an integer
too large or too small to be a valid integer object, the Lisp reader
reads it as a floating-point number (@pxref{Floating Point Type}).
For instance, on most machines @code{536870912} is read as the
floating-point number @code{536870912.0}.
@xref{Numbers}, for more information.
@node Floating Point Type