gh-112019: Add Py_complex_abs() function by vstinner · Pull Request #112107 · python/cpython
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() Add basic tests on these functions in test_capi.
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