FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-138573: restrict testAtan2() the IEC 60559-compatible platforms by skirpichev · Pull Request #138812 · python/cpython · GitHub

Repository navigation

gh-138573: restrict testAtan2() the IEC 60559-compatible platforms - #138812

Closed
skirpichev wants to merge 6 commits into
python:mainfrom
skirpichev:restrict-atan2-tests/138573
Closed

skirpichev wants to merge 6 commits into
python:mainfrom
skirpichev:restrict-atan2-tests/138573

Conversation

skirpichev commented Sep 12, 2025 •
edited
Loading

Copy link
Copy Markdown
Member

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.

Copy link
Copy Markdown
Member Author

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

skirpichev closed this Oct 10, 2025
skirpichev deleted the restrict-atan2-tests/138573 branch October 10, 2025 04:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL