[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using the GNU GMP Library for Bignums in Emacs
From: |
Clément Pit-Claudel |
Subject: |
Re: Using the GNU GMP Library for Bignums in Emacs |
Date: |
Sun, 22 Apr 2018 14:34:34 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 2018-04-22 14:04, Daniel Colascione wrote:
> On 04/22/2018 10:43 AM, Paul Eggert wrote:
>> Philipp Stephani wrote:
>>> integers are currently documented to use modular arithmetic (
>>
>> We'll need to change the documentation for modular arithmetic, since
>> integers will no longer overflow.
>
> Bugs will inevitably arise. One possibility is just dealing with them;
> another might be to predicate bignum support on a lexical-binding-like flag.
Or we could make them different types: the usual operators on fixnums would
return fixnums, and the usual operators on bignums would return bignums. Mixing
both would always return a bignum.
The difficulty is whether we should change existing Emacs function to return
bignums.
Clément.
- Re: Using the GNU GMP Library for Bignums in Emacs, (continued)
- Re: Using the GNU GMP Library for Bignums in Emacs, Paul Eggert, 2018/04/21
- Re: Using the GNU GMP Library for Bignums in Emacs, Tom Tromey, 2018/04/25
- Re: Using the GNU GMP Library for Bignums in Emacs, Stefan Monnier, 2018/04/25
- Re: Using the GNU GMP Library for Bignums in Emacs, Richard Stallman, 2018/04/27
- Re: Using the GNU GMP Library for Bignums in Emacs, Stefan Monnier, 2018/04/27
- Re: Using the GNU GMP Library for Bignums in Emacs, Richard Stallman, 2018/04/21
- Re: Using the GNU GMP Library for Bignums in Emacs, dancol, 2018/04/21
- Re: Using the GNU GMP Library for Bignums in Emacs, Philipp Stephani, 2018/04/22
- Re: Using the GNU GMP Library for Bignums in Emacs, Paul Eggert, 2018/04/22
- Re: Using the GNU GMP Library for Bignums in Emacs, Daniel Colascione, 2018/04/22
- Re: Using the GNU GMP Library for Bignums in Emacs,
Clément Pit-Claudel <=
- Re: Using the GNU GMP Library for Bignums in Emacs, Richard Stallman, 2018/04/22
- Re: Using the GNU GMP Library for Bignums in Emacs, Siraphob (Ben) Phipathananunth, 2018/04/22
- Re: Using the GNU GMP Library for Bignums in Emacs, Paul Eggert, 2018/04/22
- Re: Using the GNU GMP Library for Bignums in Emacs, Helmut Eller, 2018/04/23
- Re: Using the GNU GMP Library for Bignums in Emacs, Andreas Schwab, 2018/04/23
- Re: Using the GNU GMP Library for Bignums in Emacs, Paul Eggert, 2018/04/23
- Re: Using the GNU GMP Library for Bignums in Emacs, Helmut Eller, 2018/04/23
- Re: Using the GNU GMP Library for Bignums in Emacs, Paul Eggert, 2018/04/23
- Re: Using the GNU GMP Library for Bignums in Emacs, Richard Stallman, 2018/04/22
- Re: Using the GNU GMP Library for Bignums in Emacs, Helmut Eller, 2018/04/22