From: Richard M. Stallman Date: Sun, 7 Aug 2005 17:47:48 +0000 (+0000) Subject: (Fexpt): Undo previous change. X-Git-Tag: emacs-pretest-22.0.90~7755 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8b6a95513d11162055cf1cdf7eb9a4a2ade5f1c3;p=emacs.git (Fexpt): Undo previous change. --- diff --git a/src/ChangeLog b/src/ChangeLog index a44fc3aaa48..e9ade1c6dfd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2005-08-07 Richard M. Stallman + * floatfns.c (Fexpt): Undo previous change. + * dispnew.c (Fframe_or_buffer_changed_p): Take an arg so it can be used with various state vectors. diff --git a/src/floatfns.c b/src/floatfns.c index 79574e0a69b..57bece2708b 100644 --- a/src/floatfns.c +++ b/src/floatfns.c @@ -461,8 +461,7 @@ DEFUN ("expt", Fexpt, Sexpt, 2, 2, 0, CHECK_NUMBER_OR_FLOAT (arg1); CHECK_NUMBER_OR_FLOAT (arg2); if (INTEGERP (arg1) /* common lisp spec */ - && INTEGERP (arg2) /* don't promote, if both are ints, and */ - && 0 <= XINT (arg2)) /* we are sure the result is not fractional */ + && INTEGERP (arg2)) /* don't promote, if both are ints */ { /* this can be improved by pre-calculating */ EMACS_INT acc, x, y; /* some binary powers of x then accumulating */ Lisp_Object val;