diff options
author | Tom Tromey <tom@tromey.com> | 2018-07-19 15:58:10 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-07-19 16:08:41 -0600 |
commit | 76715f8921dca740880cd22c644a6328cd810846 (patch) | |
tree | d85940e4c452575c453ab3ea6a7d0ec25b20f2ab /lisp/emacs-lisp/shadow.el | |
parent | 678881e428073b39a906c1ffd01e1b76e271cb5d (diff) | |
download | emacs-76715f8921dca740880cd22c644a6328cd810846.tar.gz emacs-76715f8921dca740880cd22c644a6328cd810846.tar.bz2 emacs-76715f8921dca740880cd22c644a6328cd810846.zip |
Fix bignum creation when EMACS_INT is wider than long
* src/alloc.c (mpz_set_intmax_slow, mpz_set_uintmax_slow): New
functions.
* src/data.c (arith_driver, Frem, Fmod, ash_lsh_impl, Fadd1)
(Fsub1): Use mpz_set_intmax, mpz_set_uintmax.
* src/emacs-module.c (module_make_integer): Use mpz_set_intmax.
* src/floatfns.c (Fabs): Use mpz_set_intmax.
* src/lisp.h (mpz_set_intmax, mpz_set_uintmax): New inline
functions.
(mpz_set_uintmax_slow, mpz_set_intmax_slow): Declare.
Diffstat (limited to 'lisp/emacs-lisp/shadow.el')
0 files changed, 0 insertions, 0 deletions