emacs-devel
[Top][All Lists]
Advanced

[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 14:17:46 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux)

>>>>> "Eli" == Eli Zaretskii <address@hidden> writes:

Eli> OK, let's wait until bignum is merged, and take it from there.

Two things still on my to-do list are to make sure the hash table eq
code is working correctly (I didn't update this and learned later that I
should); and that comparisons against NaN work properly (the GMP docs
say this is undefined, so we will need a special case).

I'm not sure what the semantics of NaN comparison are in Emacs.  In
particular, this doesn't really make sense to me:

    (> 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

Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]