On Tue, 08 Feb 2022 01:12:22 -0000
"Jim J. Jewett" <jimjjew...@gmail.com> wrote:
> - Should we require the presence of NaNs in order for CPython to build?
> - Should we require IEEE 754 floating-point for CPython-the-implementation?
> - Should we require IEEE 754 floating-point for Python-the-language?
> 
> I don't have strong opinions on the first two, but for the language 
> definition, I think the most we should say is "if an implementation does not 
> support IEEE 754 floating-point, this must be mentioned in the documentation 
> as an implementation limit."

This is more about platform support than about implementation support.
An implementation using a C "float" or "double" (or whatever
the equivalent in another implementation language) will de facto support
IEEE 754 on platforms that support it.

Sure, a Python implementation may also choose to rewrite its own
floating-point type from scratch, but that sounds unlikely.

Regards

Antoine.


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

Reply via email to