Lines Matching full:py_complex
13 static Py_complex c_1 = {1., 0.};
15 Py_complex
16 _Py_c_sum(Py_complex a, Py_complex b)
18 Py_complex r;
24 Py_complex
25 _Py_c_diff(Py_complex a, Py_complex b)
27 Py_complex r;
33 Py_complex
34 _Py_c_neg(Py_complex a)
36 Py_complex r;
42 Py_complex
43 _Py_c_prod(Py_complex a, Py_complex b)
45 Py_complex r;
51 Py_complex
52 _Py_c_quot(Py_complex a, Py_complex b)
61 Py_complex r;
77 Py_complex r; /* the result */
109 Py_complex
110 _Py_c_pow(Py_complex a, Py_complex b)
112 Py_complex r;
139 static Py_complex
140 c_powu(Py_complex x, long n)
142 Py_complex r, p;
155 static Py_complex
156 c_powi(Py_complex x, long n)
158 Py_complex cn;
173 _Py_c_abs(Py_complex z)
205 complex_subtype_from_c_complex(PyTypeObject *type, Py_complex cval)
216 PyComplex_FromCComplex(Py_complex cval)
232 Py_complex c;
241 Py_complex c;
289 Py_complex
292 Py_complex cv;
417 to_complex(PyObject **pobj, Py_complex *pc)
443 Py_complex result;
444 Py_complex a, b;
456 Py_complex result;
457 Py_complex a, b;
469 Py_complex result;
470 Py_complex a, b;
482 Py_complex quot;
483 Py_complex a, b;
517 Py_complex p;
518 Py_complex exponent;
520 Py_complex a, b;
563 Py_complex neg;
607 Py_complex i;
639 Py_complex j;
679 Py_complex c;
693 Py_complex c = v->cval;
728 Py_complex c;
920 Py_complex cr, ci;