Yep. It’s also the only way that I know of to get the sign of a NaN. We can’t 
even parse the repr for that!

Brandt

> On Nov 28, 2019, at 21:36, Guido van Rossum <gu...@python.org> wrote:
> I suspect the only reason it exists as a builtin is that it handles -0.0 
> correctly. But that's really only of interest to people doing serious 
> floating point stuff.
_______________________________________________
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/ZRQLVEKTUPX2EHL7KXPLESEGH63HEE75/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to