]> git.eshelyaron.com Git - emacs.git/commitdiff
* objects.texi (Integer Type): Take note of the read syntax exception for numbers...
authorChong Yidong <cyd@stupidchicken.com>
Sat, 6 Mar 2010 20:27:19 +0000 (15:27 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 6 Mar 2010 20:27:19 +0000 (15:27 -0500)
doc/lispref/ChangeLog
doc/lispref/objects.texi

index 755e83b65ef094645ca4bd7ffcc079fc16699641..1b9e028e59816d720d229880bfef49b62a593bab 100644 (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):
index 26c17f09f0edcc35853dbf058c736782495acdca..5c3ac13cdaf96042c2dce0f38b3627457ecf8044 100644 (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