[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bignum branch
From: |
Eli Zaretskii |
Subject: |
Re: bignum branch |
Date: |
Thu, 19 Jul 2018 05:36:31 +0300 |
> From: Stefan Monnier <address@hidden>
> Date: Wed, 18 Jul 2018 16:41:14 -0400
>
> > NaN (specifically of the IEEE754 variety) is supposed to compare
> > non-equal even when compared to itself.
>
> There's "compare" and there's "compare".
> I think we always want (eql x x) to return t, so the above behavior
> makes a lot of sense. The rule that NaN is not equal to itself should
> only be applied when doing a numerical comparison (i.e. (= x x) may
> return nil).
100% agreement. We are testing equality of two objects, not their
numerical equality.
- Re: bignum branch, (continued)
- 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, 2018/07/18
- Re: bignum branch, Achim Gratz, 2018/07/18
- Re: bignum branch, Stefan Monnier, 2018/07/18
- Re: bignum branch,
Eli Zaretskii <=
- 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
- Re: bignum branch, Paul Eggert, 2018/07/18
- Re: bignum branch, Andy Moreton, 2018/07/25