@@ -44,12 +44,36 @@ pointers. This is consistent throughout the API.
4444 representation.
4545
4646
47+ .. c:function:: Py_complex _Py_cr_sum(Py_complex left, double right)
48+
49+ Return the sum of a complex number and a real number, using the C :c:type:`Py_complex`
50+ representation.
51+
52+ .. versionadded:: 3.14
53+
54+
4755.. c:function:: Py_complex _Py_c_diff(Py_complex left, Py_complex right)
4856
4957 Return the difference between two complex numbers, using the C
5058 :c:type:`Py_complex` representation.
5159
5260
61+ .. c:function:: Py_complex _Py_cr_diff(Py_complex left, double right)
62+
63+ Return the difference between a complex number and a real number, using the C
64+ :c:type:`Py_complex` representation.
65+
66+ .. versionadded:: 3.14
67+
68+
69+ .. c:function:: Py_complex _Py_rc_diff(double left, Py_complex right)
70+
71+ Return the difference between a real number and a complex number, using the C
72+ :c:type:`Py_complex` representation.
73+
74+ .. versionadded:: 3.14
75+
76+
5377.. c:function:: Py_complex _Py_c_neg(Py_complex num)
5478
5579 Return the negation of the complex number *num*, using the C
@@ -62,6 +86,14 @@ pointers. This is consistent throughout the API.
6286 representation.
6387
6488
89+ .. c:function:: Py_complex _Py_cr_prod(Py_complex left, double right)
90+
91+ Return the product of a complex number and a real number, using the C
92+ :c:type:`Py_complex` representation.
93+
94+ .. versionadded:: 3.14
95+
96+
6597.. c:function:: Py_complex _Py_c_quot(Py_complex dividend, Py_complex divisor)
6698
6799 Return the quotient of two complex numbers, using the C :c:type:`Py_complex`
@@ -71,6 +103,28 @@ pointers. This is consistent throughout the API.
71103 :c:data:`errno` to :c:macro:`!EDOM`.
72104
73105
106+ .. c:function:: Py_complex _Py_cr_quot(Py_complex dividend, double divisor)
107+
108+ Return the quotient of a complex number and a real number, using the C
109+ :c:type:`Py_complex` representation.
110+
111+ If *divisor* is zero, this method returns zero and sets
112+ :c:data:`errno` to :c:macro:`!EDOM`.
113+
114+ .. versionadded:: 3.14
115+
116+
117+ .. c:function:: Py_complex _Py_rc_quot(double dividend, Py_complex divisor)
118+
119+ Return the quotient of a real number and a complex number, using the C
120+ :c:type:`Py_complex` representation.
121+
122+ If *divisor* is zero, this method returns zero and sets
123+ :c:data:`errno` to :c:macro:`!EDOM`.
124+
125+ .. versionadded:: 3.14
126+
127+
74128.. c:function:: Py_complex _Py_c_pow(Py_complex num, Py_complex exp)
75129
76130 Return the exponentiation of *num* by *exp*, using the C :c:type:`Py_complex`
0 commit comments