]> git.eshelyaron.com Git - emacs.git/commit
Support (ash INTEGER BIGNUM)
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 18 Dec 2018 20:21:27 +0000 (12:21 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 18 Dec 2018 20:23:02 +0000 (12:23 -0800)
commitcdaaaf2e1bd1f8ad2784ffc8265aa642da2d1190
tree3dbe9cc04690882db9d4fae33a1d69bc32b996a2
parent5a04e8261458d887c7b7d7c259053f236379cf78
Support (ash INTEGER BIGNUM)

* src/data.c (emacs_mpz_mul_2exp): 2nd arg is now a
nonnegative EMACS_INT not mp_bitcnt_t, to simplify checking.
(Fash): Support COUNT values that are bignums or that
exceed mp_bitcnt_t range.
* test/src/data-tests.el (data-tests-ash-lsh): Test this.
src/data.c
test/src/data-tests.el