Skip to content

Commit ead2720

Browse files
committed
Make NEWS entry a little shorter.
1 parent 5b6d005 commit ead2720

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The return values of ``atan2(0.0, 0.0)``, ``atan2(0.0, -0.0)``, etc. are
2-
specified in Annex F of the C standard. The Intel and Solaris math libraries,
3-
for legacy compatibility, also set ``errno`` to indicate a domain error when
4-
both arguments are zero. Python's :func:`math.atan2`, :func:`math.atan2pi`,
5-
and :func:`cmath.phase` should return the values specified by Annex F, not
6-
raise ``ValueError``. This patch ignores ``errno`` for the C ``atan2()`` and
7-
``atan2pi()`` functions. Contributed by High Performance Kernels LLC.
2+
specified in Annex F of the C standard. The Intel and Solaris math libraries
3+
also set ``errno`` to indicate a domain error when both arguments are zero.
4+
Python's :func:`math.atan2`, :func:`math.atan2pi`, and :func:`cmath.phase`
5+
should return the values specified by Annex F, not raise ``ValueError``.
6+
This patch ignores ``errno`` for the C ``atan2()`` and ``atan2pi()`` functions.
7+
Contributed by High Performance Kernels LLC.

0 commit comments

Comments
 (0)