On 6/09/20 8:08 am, David Mertz wrote:
The only real goal I've seen is that you hope that `x == eval(repr(x))` for floating point numbers.  But that is doomed to failure since it cannot work for NaN by its very definition.

I think that just means the definition needs a bit more finesse.
It would be a reasonable goal for it to give back *some* NaN
with the same flags and payload as the original.

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

Reply via email to