changeset 9365:0b431684f97b

(Fabs): Don't use XFASTINT when negative.
author Karl Heuer <kwzh@gnu.org>
date Thu, 06 Oct 1994 22:38:08 +0000
parents 0bba3bd707c7
children 60542ab81fb1
files src/floatfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/floatfns.c	Thu Oct 06 22:32:11 1994 +0000
+++ b/src/floatfns.c	Thu Oct 06 22:38:08 1994 +0000
@@ -648,7 +648,7 @@
   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;
 }