aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPaul Eggert2011-05-03 09:33:36 -0700
committerPaul Eggert2011-05-03 09:33:36 -0700
commit680186416d09efb9c3b4599ee848e3bb9fe184b6 (patch)
tree83fe8f6f252befa375abcd0186aab683bacfcb0d /etc
parent4ed0cebda869315a9e729daa55c50a16e2a5cde1 (diff)
downloademacs-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/ChangeLog5
-rw-r--r--etc/NEWS6
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 @@
12011-05-03 Paul Eggert <eggert@cs.ucla.edu>
2
3 * NEWS: Integer overflow now yields floating-point instead of
4 wrapping around.
5
12011-05-03 Leo Liu <sdl.web@gmail.com> 62011-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.
diff --git a/etc/NEWS b/etc/NEWS
index 5094ecfc4fc..669c143ba7f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
733value rather than wrapping around. For example, on a 32-bit machine,
734(1+ 536870911) yields 536870912.0, instead of the -536870912 it
735yielded 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'
733were deleted. They were buggy and inferior to the new support of 739were deleted. They were buggy and inferior to the new support of