On 27.08.2021 03:24, David Mertz, Ph.D. wrote:
> 
> 
> On Thu, Aug 26, 2021, 6:46 AM Marc-Andre LemburgĀ 
> 
>     Fair enough. Would it then make sense to at least have all possible NAN
>     objects compare equal, treating the extra error information as an 
> attribute
>     value rather than a distinct value and perhaps exposing this as such ?
> 
> 
> No, no, no!
> 
> Almost the entire point of a NaN is that it doesn't compare as equal to
> anything... Not even to itself!

Yeah, you're right, it would break the logic that NAN should "infect"
most (or even all) other operations they are used in to signal
"no idea what to do here".

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Experts (#1, Aug 27 2021)
>>> Python Projects, Coaching and Support ...    https://www.egenix.com/
>>> Python Product Development ...        https://consulting.egenix.com/
________________________________________________________________________

::: We implement business ideas - efficiently in both time and costs :::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               https://www.egenix.com/company/contact/
                     https://www.malemburg.com/

_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/FUZRCHW7NVZPZMNGS2S2CVIVALELCB74/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to