@@ -43,24 +43,36 @@ pointers. This is consistent throughout the API.
43
43
Return the sum of two complex numbers, using the C :c:type:`Py_complex`
44
44
representation.
45
45
46
+ .. deprecated:: 3.15
47
+ This function is :term:`soft deprecated`.
48
+
46
49
47
50
.. c:function:: Py_complex _Py_c_diff(Py_complex left, Py_complex right)
48
51
49
52
Return the difference between two complex numbers, using the C
50
53
:c:type:`Py_complex` representation.
51
54
55
+ .. deprecated:: 3.15
56
+ This function is :term:`soft deprecated`.
57
+
52
58
53
59
.. c:function:: Py_complex _Py_c_neg(Py_complex num)
54
60
55
61
Return the negation of the complex number *num*, using the C
56
62
:c:type:`Py_complex` representation.
57
63
64
+ .. deprecated:: 3.15
65
+ This function is :term:`soft deprecated`.
66
+
58
67
59
68
.. c:function:: Py_complex _Py_c_prod(Py_complex left, Py_complex right)
60
69
61
70
Return the product of two complex numbers, using the C :c:type:`Py_complex`
62
71
representation.
63
72
73
+ .. deprecated:: 3.15
74
+ This function is :term:`soft deprecated`.
75
+
64
76
65
77
.. c:function:: Py_complex _Py_c_quot(Py_complex dividend, Py_complex divisor)
66
78
@@ -70,6 +82,9 @@ pointers. This is consistent throughout the API.
70
82
If *divisor* is null, this method returns zero and sets
71
83
:c:data:`errno` to :c:macro:`!EDOM`.
72
84
85
+ .. deprecated:: 3.15
86
+ This function is :term:`soft deprecated`.
87
+
73
88
74
89
.. c:function:: Py_complex _Py_c_pow(Py_complex num, Py_complex exp)
75
90
@@ -81,6 +96,19 @@ pointers. This is consistent throughout the API.
81
96
82
97
Set :c:data:`errno` to :c:macro:`!ERANGE` on overflows.
83
98
99
+ .. deprecated:: 3.15
100
+ This function is :term:`soft deprecated`.
101
+
102
+
103
+ .. c:function:: double _Py_c_abs(Py_complex num)
104
+
105
+ Return the absolute value of the complex number *num*.
106
+
107
+ Set :c:data:`errno` to :c:macro:`!ERANGE` on overflows.
108
+
109
+ .. deprecated:: 3.15
110
+ This function is :term:`soft deprecated`.
111
+
84
112
85
113
Complex Numbers as Python Objects
86
114
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments