[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bignum branch
From: |
Eli Zaretskii |
Subject: |
Re: bignum branch |
Date: |
Sat, 04 Aug 2018 09:20:53 +0300 |
> From: Paul Eggert <address@hidden>
> Date: Fri, 3 Aug 2018 14:02:04 -0700
> Cc: Andy Moreton <address@hidden>, address@hidden
>
> > (> 0 0.0e+NaN) => nil
> > (< 0 0.0e+NaN) => nil
> > (min 0 0.0e+NaN) => 0.0e+NaN
> > (min 0.0e+NaN 0) => 0.0e+NaN
> > (max 0 0.0e+NaN) => 0.0e+NaN
> > (max 0.0e+NaN 0) => 0.0e+NaN
>
> NaNs never compare numerically equal to, less than, or greater than any
> other floating-point value, even other NaNs. This is part of the IEEE
> standard.
I find it easier to memorize the following rule: "Any comparison with
NaN yields FALSE." YMMV.
- Re: bignum branch, (continued)
- Re: bignum branch, Tom Tromey, 2018/08/03
- Re: bignum branch, Paul Eggert, 2018/08/03
- Re: bignum branch, Tom Tromey, 2018/08/03
- Re: bignum branch, Paul Eggert, 2018/08/03
- Re: bignum branch, Eli Zaretskii, 2018/08/04
- Re: bignum branch, Achim Gratz, 2018/08/04
- Re: bignum branch, Eli Zaretskii, 2018/08/04
- Re: bignum branch, Achim Gratz, 2018/08/04
- Re: bignum branch, Tom Tromey, 2018/08/04
- Re: bignum branch, Achim Gratz, 2018/08/04
- Re: bignum branch,
Eli Zaretskii <=
- 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, 2018/08/03