Commit 7c26cf3c authored by Paul Eggert's avatar Paul Eggert

* 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
parent 5dad233c
2012-07-17 Paul Eggert <eggert@cs.ucla.edu>
* 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 <jan.h.d@swipnet.se>
* nsterm.m (keyDown): Interpret flags without left/right bits
......
......@@ -664,7 +664,7 @@ DEFUN ("abs", Fabs, Sabs, 1, 1, 0,
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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment