diff options
Diffstat (limited to 'src/floatfns.c')
| -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 cbcc0bfe520..0f91b80370a 100644 --- a/src/floatfns.c +++ b/src/floatfns.c | |||
| @@ -461,7 +461,7 @@ DEFUN ("expt", Fexpt, Sexpt, 2, 2, 0, | |||
| 461 | CHECK_NUMBER_OR_FLOAT (arg2); | 461 | CHECK_NUMBER_OR_FLOAT (arg2); |
| 462 | if (INTEGERP (arg1) /* common lisp spec */ | 462 | if (INTEGERP (arg1) /* common lisp spec */ |
| 463 | && INTEGERP (arg2) /* don't promote, if both are ints, and */ | 463 | && INTEGERP (arg2) /* don't promote, if both are ints, and */ |
| 464 | && 0 <= XINT (arg2)) /* we are not computing the -ARG2 root */ | 464 | && 0 <= XINT (arg2)) /* we are sure the result is not fractional */ |
| 465 | { /* this can be improved by pre-calculating */ | 465 | { /* this can be improved by pre-calculating */ |
| 466 | EMACS_INT acc, x, y; /* some binary powers of x then accumulating */ | 466 | EMACS_INT acc, x, y; /* some binary powers of x then accumulating */ |
| 467 | Lisp_Object val; | 467 | Lisp_Object val; |