[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using the GNU GMP Library for Bignums in Emacs
From: |
Helmut Eller |
Subject: |
Re: Using the GNU GMP Library for Bignums in Emacs |
Date: |
Thu, 03 May 2018 22:30:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
On Thu, May 03 2018, Eli Zaretskii wrote:
[...]
> Maybe we are miscommunicating. fffffffffffffefe cannot be a fixnum
> because it invades the bits reserved for the type tag. Emacs fixnums
> are limited to smaller values, as I'm sure you know.
If we interpret "fffffffffffffefe" as the 64 bit two's complement
representation of an integer then it corresponds to the integer -258.
If we interpret "fefe" as the 16 bit two's complement representation of
an integer then we also get the integer -258. And -258 is a fixnum.
Still convinced that "fffffffffffffefe cannot be a fixnum"?.
Helmut
- Re: Using the GNU GMP Library for Bignums in Emacs, (continued)
- Re: Using the GNU GMP Library for Bignums in Emacs, Helmut Eller, 2018/05/03
- Re: Using the GNU GMP Library for Bignums in Emacs, Eli Zaretskii, 2018/05/03
- Re: Using the GNU GMP Library for Bignums in Emacs, Paul Eggert, 2018/05/03
- Re: Using the GNU GMP Library for Bignums in Emacs, Richard Stallman, 2018/05/04
- Re: Using the GNU GMP Library for Bignums in Emacs, Ken Raeburn, 2018/05/05
- Re: Using the GNU GMP Library for Bignums in Emacs, Richard Stallman, 2018/05/05
- Re: Using the GNU GMP Library for Bignums in Emacs, Ken Raeburn, 2018/05/07
- Re: Using the GNU GMP Library for Bignums in Emacs, Richard Stallman, 2018/05/07
- Re: Using the GNU GMP Library for Bignums in Emacs, Andreas Schwab, 2018/05/07
- Re: Using the GNU GMP Library for Bignums in Emacs, Helmut Eller, 2018/05/03
- Message not available
- Re: Using the GNU GMP Library for Bignums in Emacs,
Helmut Eller <=
- Re: Using the GNU GMP Library for Bignums in Emacs, Paul Eggert, 2018/05/03
- Re: Using the GNU GMP Library for Bignums in Emacs, Richard Stallman, 2018/05/04