Skip to content

Commit e0ede77

Browse files
committed
Add whatsnew entry for math module changes
1 parent aa93326 commit e0ede77

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Doc/whatsnew/3.16.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,16 @@ gzip
9393
which is passed on to the constructor of the :class:`~gzip.GzipFile` class.
9494
(Contributed by Marin Misur in :gh:`91372`.)
9595

96+
math
97+
----
98+
99+
* Added trigonometric functions that work in units of half turns, rather than
100+
radians. The new functions :func:`math.acospi`, :func:`math.asinpi`,
101+
:func:`math.atanpi`, and :func:`math.atan2pi` return half-turn angles. The
102+
new functions :func:`math.cospi`, :func:`math.sinpi`, and :func:`math.tanpi`
103+
take half-turn angle arguments. These functions are recommended by IEEE
104+
754-2019 and standardized in C23.
105+
96106
os
97107
--
98108

0 commit comments

Comments
 (0)