gh-150534: Add C23 half-turn trigonometric `*pi` functions by jepler · Pull Request #150555 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
ad12476
Add *pi functions to math module
jepler May 27, 2026
03808d6
Add news item and remove testing code
jepler May 27, 2026
e9ec2b6
tests: Add math_testcases for the new *pi functions
jepler May 28, 2026
bb57325
fix discussion of atan2pi
jepler May 28, 2026
7650fa5
fix wrongly changed m_sinpi
jepler May 28, 2026
86de1c0
regenerate autoconf files with `make regen-configure`
jepler May 28, 2026
be980bf
remove accidentally-committed code
jepler May 29, 2026
d3254cd
mathdata: Add +-inf, nan tests for new functions
jepler May 29, 2026
6d8dd17
test_math: Let "mtestfile" test 2-arg functions
jepler May 29, 2026
0c7fdfb
math_testcases: Add testcases for atan2pi
jepler May 29, 2026
aa93326
These are now tested in math_testcases.txt
jepler May 29, 2026
e0ede77
Add whatsnew entry for math module changes
jepler May 29, 2026
694f479
Correct doc typos (atanpi2 -> atan2pi)
jepler May 29, 2026
ab68cdc
Correct comment about which standard this conforms to
jepler May 29, 2026
359ac19
Add 'versionadded' notes to new functions
jepler May 29, 2026
6cec4b8
Use float constants, not expressions, for simple values.
jepler May 29, 2026
d66a2c3
as x is finite, regular comparisons can be used here
jepler May 29, 2026
dcc5040
Merge remote-tracking branch 'origin/main' into c23-math-pifuns
jepler May 29, 2026
1f98ce6
remove comment about glibc
jepler May 30, 2026
12fcd24
Update comments based on review.
jepler May 30, 2026
56da6fc
math_methods: Re-sort and conform to surrounding spacing
jepler May 30, 2026
0e1ba52
Apply suggestions from code review
jepler May 31, 2026
c763c61
Update Modules/mathmodule.c
jepler May 31, 2026
e243ce3
apply lint fix
jepler May 31, 2026
4364ecb
Merge branch 'main' into c23-math-pifuns
serhiy-storchaka Jun 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 71 additions & 7 deletions Doc/library/math.rst
11 changes: 11 additions & 0 deletions Doc/whatsnew/3.16.rst
Loading
Loading