diff options
| author | Chong Yidong | 2010-03-06 15:27:19 -0500 |
|---|---|---|
| committer | Chong Yidong | 2010-03-06 15:27:19 -0500 |
| commit | eed5c93a4c5c90a4d4033c380b271bf0297f0365 (patch) | |
| tree | 6e0c97dc170a707b31122d289f9387cd19269736 /doc | |
| parent | 17782becc562c0cc03df654e33f60acc183cc3a7 (diff) | |
| download | emacs-eed5c93a4c5c90a4d4033c380b271bf0297f0365.tar.gz emacs-eed5c93a4c5c90a4d4033c380b271bf0297f0365.zip | |
* objects.texi (Integer Type): Take note of the read syntax exception for numbers that cannot fit in the integer type.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/objects.texi | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 755e83b65ef..1b9e028e598 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-03-06 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * objects.texi (Integer Type): Take note of the read syntax | ||
| 4 | exception for numbers that cannot fit in the integer type. | ||
| 5 | |||
| 1 | 2010-03-03 Glenn Morris <rgm@gnu.org> | 6 | 2010-03-03 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * numbers.texi (Integer Basics, Bitwise Operations): | 8 | * numbers.texi (Integer Basics, Bitwise Operations): |
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi index 26c17f09f0e..5c3ac13cdaf 100644 --- a/doc/lispref/objects.texi +++ b/doc/lispref/objects.texi | |||
| @@ -200,6 +200,13 @@ leading @samp{+} or a final @samp{.}. | |||
| 200 | @end group | 200 | @end group |
| 201 | @end example | 201 | @end example |
| 202 | 202 | ||
| 203 | @noindent | ||
| 204 | As a special exception, if a sequence of digits specifies an integer | ||
| 205 | too large or too small to be a valid integer object, the Lisp reader | ||
| 206 | reads it as a floating-point number (@pxref{Floating Point Type}). | ||
| 207 | For instance, on most machines @code{536870912} is read as the | ||
| 208 | floating-point number @code{536870912.0}. | ||
| 209 | |||
| 203 | @xref{Numbers}, for more information. | 210 | @xref{Numbers}, for more information. |
| 204 | 211 | ||
| 205 | @node Floating Point Type | 212 | @node Floating Point Type |