[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using the GNU GMP Library for Bignums in Emacs
From: |
Tom Tromey |
Subject: |
Re: Using the GNU GMP Library for Bignums in Emacs |
Date: |
Sun, 08 Jul 2018 09:59:47 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) |
>>>>> "Paul" == Paul Eggert <address@hidden> writes:
>> #define lisp_h_CHECK_FIXNUM(x) CHECK_TYPE (FIXNUMP (x), Qintegerp, x)
Paul> That last line should use Qfixnump, surely.
Fixing this made me realize that some calls to DEFVAR_PER_BUFFER had to
be updated to use Qfixnump rather than Qintegerp. (With the
restrictions to be lifted piecemeal in the future.)
Also the bytecode interpreter needed some updates; and I changed the
emacs-module API to allow bigger-than-fixnum ints to be converted.
I've implemented all my to-do items, except:
* Update documentation
* Use the mpn_ API. This does not look fun :-(
I still haven't tried cons_to_unsigned et al, out of compatibility
fears.
I've cleaned up the series quite a bit so it is in decent shape if you
want to read through it:
address@hidden:tromey/emacs.git feature/bignum
I tend to rebase and force-push for development branches like this, so
beware of that. No ChangeLogs yet I'm afraid.
Tom
- Re: Using the GNU GMP Library for Bignums in Emacs, (continued)
- Re: Using the GNU GMP Library for Bignums in Emacs, Paul Eggert, 2018/07/07
- Re: Using the GNU GMP Library for Bignums in Emacs, Tom Tromey, 2018/07/07
- Re: Using the GNU GMP Library for Bignums in Emacs, Paul Eggert, 2018/07/07
- Re: Using the GNU GMP Library for Bignums in Emacs, Tom Tromey, 2018/07/09
- Re: Using the GNU GMP Library for Bignums in Emacs, Paul Eggert, 2018/07/09
- Re: Using the GNU GMP Library for Bignums in Emacs, Tom Tromey, 2018/07/09
- Re: Using the GNU GMP Library for Bignums in Emacs, Paul Eggert, 2018/07/09
- Re: Using the GNU GMP Library for Bignums in Emacs, Tom Tromey, 2018/07/09
- Re: Using the GNU GMP Library for Bignums in Emacs, Tom Tromey, 2018/07/10
- Re: Using the GNU GMP Library for Bignums in Emacs, Tom Tromey, 2018/07/10
- Re: Using the GNU GMP Library for Bignums in Emacs,
Tom Tromey <=
- Re: Using the GNU GMP Library for Bignums in Emacs, Tom Tromey, 2018/07/09
- Re: Using the GNU GMP Library for Bignums in Emacs, Stefan Monnier, 2018/07/10
Re: Using the GNU GMP Library for Bignums in Emacs, Richard Stallman, 2018/07/07
Re: Using the GNU GMP Library for Bignums in Emacs, Tom Tromey, 2018/07/08
Re: Using the GNU GMP Library for Bignums in Emacs, Richard Stallman, 2018/07/08
Re: Using the GNU GMP Library for Bignums in Emacs, Tom Tromey, 2018/07/09
Re: Using the GNU GMP Library for Bignums in Emacs, Stefan Monnier, 2018/07/09