[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bignum branch
From: |
Andy Moreton |
Subject: |
Re: bignum branch |
Date: |
Wed, 18 Jul 2018 15:06:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) |
On Wed 18 Jul 2018, Clément Pit-Claudel wrote:
> On 2018-07-18 09:18, Stefan Monnier wrote:
>>>> For example, (eql 0.0e+NaN -0.0e+NaN) now returns t
>>>> because the two NaNs have different signs; formerly it returned nil.
>>> Should this be the other way around ?
>> You mean it's (eql -0.0e+NaN 0.0e+NaN) which should return t?
>> Shouldn't `eql` be commutative?
>
> No, I mean that Paul wrote 't' where he meant 'nil' and 'nil' where he meant
> 't'.
I agree:
ELISP> emacs-repository-version
"c70d22f70b77b053d01c7380122d166ecb728610"
ELISP> (eql 0.0e+NaN 0.0e+NaN)
t
ELISP> (eql -0.0e+NaN -0.0e+NaN)
t
ELISP> (eql 0.0e+NaN -0.0e+NaN)
nil
ELISP> (eql -0.0e+NaN 0.0e+NaN)
nil
- Re: bignum branch, (continued)
- Re: bignum branch, Paul Eggert, 2018/07/17
- Re: bignum branch, Eli Zaretskii, 2018/07/17
- Re: bignum branch, Paul Eggert, 2018/07/17
- Re: bignum branch, Eli Zaretskii, 2018/07/17
- Re: bignum branch, Paul Eggert, 2018/07/18
- Re: bignum branch, Andy Moreton, 2018/07/18
- Re: bignum branch, Paul Eggert, 2018/07/18
- Re: bignum branch, Clément Pit-Claudel, 2018/07/18
- Re: bignum branch, Stefan Monnier, 2018/07/18
- Re: bignum branch, Clément Pit-Claudel, 2018/07/18
- Re: bignum branch,
Andy Moreton <=
- Re: bignum branch, Achim Gratz, 2018/07/18
- Re: bignum branch, Stefan Monnier, 2018/07/18
- Re: bignum branch, Eli Zaretskii, 2018/07/18
- bignum branch, Paul Eggert, 2018/07/19
- Re: bignum branch, Achim Gratz, 2018/07/20
- Re: bignum branch, Paul Eggert, 2018/07/20
- Re: bignum branch, Stefan Monnier, 2018/07/20
- Re: bignum branch, Achim Gratz, 2018/07/22
- Re: bignum branch, Paul Eggert, 2018/07/18
- Re: bignum branch, Andy Moreton, 2018/07/18