diff options
| author | Paul Eggert | 2011-05-03 09:33:36 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-05-03 09:33:36 -0700 |
| commit | 680186416d09efb9c3b4599ee848e3bb9fe184b6 (patch) | |
| tree | 83fe8f6f252befa375abcd0186aab683bacfcb0d /etc | |
| parent | 4ed0cebda869315a9e729daa55c50a16e2a5cde1 (diff) | |
| download | emacs-680186416d09efb9c3b4599ee848e3bb9fe184b6.tar.gz emacs-680186416d09efb9c3b4599ee848e3bb9fe184b6.zip | |
[etc/ChangeLog]
* NEWS: Integer overflow now yields floating-point instead of
wrapping around.
[doc/lispref/ChangeLog]
* numbers.texi (Arithmetic Operations, Math Functions): Large integers go to
floats instead of wrapping around.
* objects.texi (Integer Type): Likewise.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/ChangeLog | 5 | ||||
| -rw-r--r-- | etc/NEWS | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 0eb21406105..bd91ccc1c39 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-05-03 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * NEWS: Integer overflow now yields floating-point instead of | ||
| 4 | wrapping around. | ||
| 5 | |||
| 1 | 2011-05-03 Leo Liu <sdl.web@gmail.com> | 6 | 2011-05-03 Leo Liu <sdl.web@gmail.com> |
| 2 | 7 | ||
| 3 | * NEWS: Mention the new command isearch-yank-pop. | 8 | * NEWS: Mention the new command isearch-yank-pop. |
| @@ -728,6 +728,12 @@ soap-inspect.el is an interactive inspector for SOAP WSDL structures. | |||
| 728 | 728 | ||
| 729 | * Incompatible Lisp Changes in Emacs 24.1 | 729 | * Incompatible Lisp Changes in Emacs 24.1 |
| 730 | 730 | ||
| 731 | +++ | ||
| 732 | ** Integer arithmetic overflow now yields the nearest floating-piont | ||
| 733 | value rather than wrapping around. For example, on a 32-bit machine, | ||
| 734 | (1+ 536870911) yields 536870912.0, instead of the -536870912 it | ||
| 735 | yielded in Emacs 23.3, or the 0 it yielded in Emacs 23.1. | ||
| 736 | |||
| 731 | --- | 737 | --- |
| 732 | ** `char-direction-table' and the associated function `char-direction' | 738 | ** `char-direction-table' and the associated function `char-direction' |
| 733 | were deleted. They were buggy and inferior to the new support of | 739 | were deleted. They were buggy and inferior to the new support of |