[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Checking for loss of information on integer conversion
From: |
Stefan Monnier |
Subject: |
Re: Checking for loss of information on integer conversion |
Date: |
Sun, 18 Feb 2018 20:47:27 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> That would be a regression. On 32bit systems, there are various
>> circumstances where we need to read a 32bit ID
> I can see how this could be a problem, but I still find the current
> semantics pretty horrible,
It's not pretty indeed.
> Perhaps Emacs could acquire small bignums? Say, boxed 64-bit integers
> with signal on overflow?
I don't think adding actual bignums via (say) libgmp would be
significantly harder than adding such "small bignums.
Stefan
- Checking for loss of information on integer conversion, Paul Eggert, 2018/02/17
- Re: Checking for loss of information on integer conversion, Eli Zaretskii, 2018/02/18
- Re: Checking for loss of information on integer conversion, Juliusz Chroboczek, 2018/02/18
- Re: Checking for loss of information on integer conversion, Richard Stallman, 2018/02/19
- Re: Checking for loss of information on integer conversion, Juliusz Chroboczek, 2018/02/22
- Re: Checking for loss of information on integer conversion, Eli Zaretskii, 2018/02/22
- Re: Checking for loss of information on integer conversion, Stefan Monnier, 2018/02/22
- Re: Checking for loss of information on integer conversion, Richard Stallman, 2018/02/23
Re: Checking for loss of information on integer conversion, John Wiegley, 2018/02/19