emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bignum branch


From: Achim Gratz
Subject: Re: bignum branch
Date: Wed, 18 Jul 2018 21:25:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Andy Moreton writes:
> I agree:
>
>     ELISP> emacs-repository-version
>     "c70d22f70b77b053d01c7380122d166ecb728610"
>     ELISP> (eql 0.0e+NaN 0.0e+NaN)
>     t

NaN (specifically of the IEEE754 variety) is supposed to compare
non-equal even when compared to itself.  I recognize that eql is used in
the above, but that would probably still create two LISP objects that
happen to have the same value, but the established FP math says these
two values should not compare equal anyway.  If you stray from that
convention there should be a really good reason for that and it needs to
be prominently documented.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds




reply via email to

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