On Sun, Dec 29, 2019 at 03:48:07PM +0000, Steve Barnes wrote:

> I do have to disagree here as it is entirely possible, in the world of 
> hardware interfacing, that an external hardware device could possibly 
> supply an sNaN 

Indeed. But since there's no guarantee in Python that this sNAN will 
make it through to the Python code, I'm not going to make any guarantees 
about what happens.

The problem is that at least one OS (Linux) may, under some 
circumstances, convert sNANs to qNANs, and that affects Python. So 
unless that changes, the behaviour of float sNANs is platform dependent.

-- 
Steven
_______________________________________________
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/MZFM6OC4BKKZQKLAGBF2IZKH6C2KSUHJ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to