[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r109108: * floatfns.c (Fabs): Do not
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r109108: * floatfns.c (Fabs): Do not wrap fabs inside IN_FLOAT. |
Date: |
Mon, 16 Jul 2012 19:56:00 -0700 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 109108
fixes bug: http://debbugs.gnu.org/11913
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Mon 2012-07-16 19:56:00 -0700
message:
* floatfns.c (Fabs): Do not wrap fabs inside IN_FLOAT.
Unlike the other wrapped functions, fabs has an unspecified
effect on errno.
modified:
src/ChangeLog
src/floatfns.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-07-16 11:02:09 +0000
+++ b/src/ChangeLog 2012-07-17 02:56:00 +0000
@@ -1,3 +1,9 @@
+2012-07-17 Paul Eggert <address@hidden>
+
+ * floatfns.c (Fabs): Do not wrap fabs inside IN_FLOAT (Bug#11913).
+ Unlike the other wrapped functions, fabs has an unspecified
+ effect on errno.
+
2012-07-16 Jan Djärv <address@hidden>
* nsterm.m (keyDown): Interpret flags without left/right bits
=== modified file 'src/floatfns.c'
--- a/src/floatfns.c 2012-02-10 18:58:48 +0000
+++ b/src/floatfns.c 2012-07-17 02:56:00 +0000
@@ -664,7 +664,7 @@
CHECK_NUMBER_OR_FLOAT (arg);
if (FLOATP (arg))
- IN_FLOAT (arg = make_float (fabs (XFLOAT_DATA (arg))), "abs", arg);
+ arg = make_float (fabs (XFLOAT_DATA (arg)));
else if (XINT (arg) < 0)
XSETINT (arg, - XINT (arg));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r109108: * floatfns.c (Fabs): Do not wrap fabs inside IN_FLOAT.,
Paul Eggert <=