forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-112019: Add Py_complex_abs() function
Add functions operating on Py_complex numbers: * Py_complex_sum() * Py_complex_diff() * Py_complex_neg() * Py_complex_prod() * Py_complex_quot() * Py_complex_pow() * Py_complex_abs()
- Loading branch information
Showing
8 changed files
with
141 additions
and
40 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
11 changes: 11 additions & 0 deletions
11
Misc/NEWS.d/next/C API/2023-11-15-05-45-59.gh-issue-111481.BhE88s.rst
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Add public functions operating on ``Py_complex`` numbers: | ||
|
||
* :c:func:`Py_complex_sum`: previously known as ``_Py_c_sum()`` | ||
* :c:func:`Py_complex_diff`: previously known as ``_Py_c_diff()`` | ||
* :c:func:`Py_complex_neg`: previously known as ``_Py_c_neg()`` | ||
* :c:func:`Py_complex_prod`: previously known as ``_Py_c_prod()`` | ||
* :c:func:`Py_complex_quot`: previously known as ``_Py_c_quot()`` | ||
* :c:func:`Py_complex_pow`: previously known as ``_Py_c_pow()`` | ||
* :c:func:`Py_complex_abs`: previously known as ``_Py_c_abs()`` | ||
|
||
The old names with the ``_Py_c`` prefix are kept for backward compatibility. |
This file contains 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
This file contains 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
Oops, something went wrong.