2005-08-06 Thien-Thi Nguyen <ttn@gnu.org>
- * floatfns.c (Fexpt): Use floats for negative
- exponent (computing a root). Reported by D Goel.
+ * floatfns.c (Fexpt): Use floats for negative exponent.
+ Reported by D Goel.
2005-08-02 Richard M. Stallman <rms@gnu.org>
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 not computing the -ARG2 root */
+ && 0 <= XINT (arg2)) /* we are sure the result is not fractional */
{ /* this can be improved by pre-calculating */
EMACS_INT acc, x, y; /* some binary powers of x then accumulating */
Lisp_Object val;