Mercurial > emacs
diff doc/lispref/objects.texi @ 107344:6773fa37732a
* objects.texi (Integer Type): Take note of the read syntax exception for numbers that cannot fit in the integer type.
| author | Chong Yidong <cyd@stupidchicken.com> |
|---|---|
| date | Sat, 06 Mar 2010 15:27:19 -0500 |
| parents | 11f018190d5c |
| children | a3faf2102c45 |
line wrap: on
line diff
--- a/doc/lispref/objects.texi Sat Mar 06 14:02:49 2010 -0500 +++ b/doc/lispref/objects.texi Sat Mar 06 15:27:19 2010 -0500 @@ -200,6 +200,13 @@ @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
