• Paul Eggert's avatar
    Don’t signal overflow for (expt 1 bignum) · 5ab29400
    Paul Eggert authored
    Similarly for (expt 0 bignum) and (expt -1 bignum).
    The result is always a -1, 0 or 1, so do not signal overflow.
    * src/data.c (expt_integer): Do not signal an overflow if
    -1 <= X <= 1.  Be clearer about when overflow is signaled.
    * test/src/floatfns-tests.el (bignum-expt): Test this.
    5ab29400
Name
Last commit
Last update
..
data Loading commit data...
lib-src Loading commit data...
lisp Loading commit data...
manual Loading commit data...
src Loading commit data...
ChangeLog.1 Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
file-organization.org Loading commit data...