]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fabs): Don't use XFASTINT when negative.
authorKarl Heuer <kwzh@gnu.org>
Thu, 6 Oct 1994 22:38:08 +0000 (22:38 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 6 Oct 1994 22:38:08 +0000 (22:38 +0000)
src/floatfns.c

index 3ea82d2b309c7abc6cf7875e6cfc4b8077bb6e83..de3e811acfce25e2ac75921cd457a169d0ef8fcd 100644 (file)
@@ -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;
 }