Skip to content

Conversation

@skirpichev
Copy link
Contributor

@skirpichev skirpichev commented Sep 12, 2025

Section 7.12.4.4 of the C17 doesn't specify special values for atan2() (and in particular permit domain error when both arguments are zero). The F.10.1.4 does.


📚 Documentation preview 📚: https://cpython-previews--138812.org.readthedocs.build/

This value indicating support the IEC 60559 floating-point standard (the
Annex F of C99).  If enabled, the float type characteristics matches the
IEC 60559 double format and exceptional cases for the math's functions
follow to the section F.10 of the C99 standard.
Section 7.12.4.4 of the C17 doesn't specify special values
for atan2() (and in particular permit domain error when
both arguments are zero).  The F.10.1.4 does.
@skirpichev
Copy link
Contributor Author

This is on top of #138811 (hence a draft).

@skirpichev skirpichev closed this Oct 10, 2025
@skirpichev skirpichev deleted the restrict-atan2-tests/138573 branch October 10, 2025 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant