[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bignum branch
From: |
Tom Tromey |
Subject: |
Re: bignum branch |
Date: |
Fri, 03 Aug 2018 11:30:08 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) |
>>>>> "Eli" == Eli Zaretskii <address@hidden> writes:
Eli> Btw, isn't it confusing that INTEGERP allows fixnums and bignums, but
Eli> XINT, XFASTINT, and XSETINT work only with fixnums? I envision quite
Eli> a few of potential bugs due to this semantic discrepancy, like the one
Eli> you just fixed:
>> - fix NUMBERP to remove redundant BIGNUMP test (ensured by INTEGERP)
Eli> Should we have a different name for what is now INTEGERP? Like
Eli> WHOLENUMP, for example?
Paul suggested this and it made sense to me, as a bignum is an integer.
Perhaps one fix would be to take some of the renaming further and use
XFIXNUM, XFASTFIXNUM, and XSETFIXNUM.
Tom
- Re: bignum branch, (continued)
- Re: bignum branch, Eli Zaretskii, 2018/08/04
- Re: bignum branch, Andy Moreton, 2018/08/04
- Re: bignum branch, Tom Tromey, 2018/08/04
- Re: bignum branch, Robert Pluim, 2018/08/06
- Re: bignum branch, Tom Tromey, 2018/08/06
- Re: bignum branch, Andy Moreton, 2018/08/07
- Re: bignum branch, Tom Tromey, 2018/08/07
- Re: bignum branch, Tom Tromey, 2018/08/04
Re: bignum branch,
Tom Tromey <=
- Re: bignum branch, Andy Moreton, 2018/08/03
- Re: bignum branch, Eli Zaretskii, 2018/08/04
- Re: bignum branch, Andy Moreton, 2018/08/05
- Re: bignum branch, Eli Zaretskii, 2018/08/05
- Re: bignum branch, Andy Moreton, 2018/08/06
- Re: bignum branch, Tom Tromey, 2018/08/06
- Re: bignum branch, Paul Eggert, 2018/08/06
- Re: bignum branch, Tom Tromey, 2018/08/06
- Re: bignum branch, Tom Tromey, 2018/08/07
- Re: bignum branch, Andy Moreton, 2018/08/07