aboutsummaryrefslogtreecommitdiffstats
path: root/src/floatfns.c
diff options
context:
space:
mode:
authorPaul Eggert2012-07-16 19:56:00 -0700
committerPaul Eggert2012-07-16 19:56:00 -0700
commit7c26cf3ccd4ea49d42c2b3d21e59330143085f17 (patch)
tree541a7e143c072733fb518c498e4d61085c37eb41 /src/floatfns.c
parent5dad233cb8553df9b37da260dd9cc350f781b2df (diff)
downloademacs-7c26cf3ccd4ea49d42c2b3d21e59330143085f17.tar.gz
emacs-7c26cf3ccd4ea49d42c2b3d21e59330143085f17.zip
* floatfns.c (Fabs): Do not wrap fabs inside IN_FLOAT.
Unlike the other wrapped functions, fabs has an unspecified effect on errno. Fixes: debbugs:11913
Diffstat (limited to 'src/floatfns.c')
-rw-r--r--src/floatfns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/floatfns.c b/src/floatfns.c
index eaa1b32eb17..cad071f1e15 100644
--- a/src/floatfns.c
+++ b/src/floatfns.c
@@ -664,7 +664,7 @@ DEFUN ("abs", Fabs, Sabs, 1, 1, 0,
664 CHECK_NUMBER_OR_FLOAT (arg); 664 CHECK_NUMBER_OR_FLOAT (arg);
665 665
666 if (FLOATP (arg)) 666 if (FLOATP (arg))
667 IN_FLOAT (arg = make_float (fabs (XFLOAT_DATA (arg))), "abs", arg); 667 arg = make_float (fabs (XFLOAT_DATA (arg)));
668 else if (XINT (arg) < 0) 668 else if (XINT (arg) < 0)
669 XSETINT (arg, - XINT (arg)); 669 XSETINT (arg, - XINT (arg));
670 670