]> git.eshelyaron.com Git - emacs.git/commit
Add bignum support to expt
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 19 Aug 2018 08:22:08 +0000 (01:22 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 19 Aug 2018 08:22:25 +0000 (01:22 -0700)
commit47b7a5bd492e92dda928843e28a707b9682cb32f
tree90c26ba233152114aa308fe19a51f38c52735223
parent06b5bcd639bf97fc77dc89dd52f136d4f262e888
Add bignum support to expt

Problem and initial solution reported by Andy Moreton in:
https://lists.gnu.org/r/emacs-devel/2018-08/msg00503.html
* doc/lispref/numbers.texi (Math Functions): expt integer
overflow no longer causes truncation; it now signals an error
since bignum overflow is a big deal.
* src/floatfns.c (Fexpt): Support bignum arguments.
* test/src/floatfns-tests.el (bignum-expt): New test.
doc/lispref/numbers.texi
src/floatfns.c
test/src/floatfns-tests.el