diff options
author | Karl Heuer <kwzh@gnu.org> | 1994-10-06 22:38:08 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1994-10-06 22:38:08 +0000 |
commit | 6d971b108a15809b505c0c09ba9ce1ddaab77fe5 (patch) | |
tree | 636b7279546e20c330c0cf4b021e5c4732969c0b /src | |
parent | 926efadf58f851f5bbdf6dad2e05e1a19d907618 (diff) | |
download | emacs-6d971b108a15809b505c0c09ba9ce1ddaab77fe5.tar.gz |
(Fabs): Don't use XFASTINT when negative.
Diffstat (limited to 'src')
-rw-r--r-- | src/floatfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/floatfns.c b/src/floatfns.c index 3ea82d2b309..de3e811acfc 100644 --- a/src/floatfns.c +++ b/src/floatfns.c @@ -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; } |