Commit db37cb37 authored by Karl Heuer's avatar Karl Heuer
Browse files

(Fabs): Don't use XFASTINT when negative.

parent 865c050f
......@@ -648,7 +648,7 @@ DEFUN ("abs", Fabs, Sabs, 1, 1, 0,
if (FLOATP (arg))
IN_FLOAT (arg = make_float (fabs (XFLOAT (arg)->data)), "abs", arg);
else if (XINT (arg) < 0)
XSETINT (arg, - XFASTINT (arg));
XSETINT (arg, - XINT (arg));
return 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