Home
last modified time | relevance | path

Searched refs:PyComplexObject (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Objects/clinic/
Dcomplexobject.c.h21 complex_conjugate_impl(PyComplexObject *self);
24 complex_conjugate(PyComplexObject *self, PyObject *Py_UNUSED(ignored)) in complex_conjugate()
38 complex___getnewargs___impl(PyComplexObject *self);
41 complex___getnewargs__(PyComplexObject *self, PyObject *Py_UNUSED(ignored)) in complex___getnewargs__()
56 complex___format___impl(PyComplexObject *self, PyObject *format_spec);
59 complex___format__(PyComplexObject *self, PyObject *arg) in complex___format__()
85 complex___complex___impl(PyComplexObject *self);
88 complex___complex__(PyComplexObject *self, PyObject *Py_UNUSED(ignored)) in complex___complex__()
/external/python/cpython3/Objects/
Dcomplexobject.c224 ((PyComplexObject *)op)->cval = cval; in complex_subtype_from_c_complex()
232 PyComplexObject *op = PyObject_Malloc(sizeof(PyComplexObject)); in PyComplex_FromCComplex()
267 real = ((PyComplexObject *)op)->cval.real; in PyComplex_RealAsDouble()
272 real = ((PyComplexObject *)newop)->cval.real; in PyComplex_RealAsDouble()
288 imag = ((PyComplexObject *)op)->cval.imag; in PyComplex_ImagAsDouble()
293 imag = ((PyComplexObject *)newop)->cval.imag; in PyComplex_ImagAsDouble()
348 return ((PyComplexObject *)op)->cval; in PyComplex_AsCComplex()
359 cv = ((PyComplexObject *)newop)->cval; in PyComplex_AsCComplex()
376 complex_repr(PyComplexObject *v) in complex_repr()
432 complex_hash(PyComplexObject *v) in complex_hash()
[all …]
Dcodeobject.c2610 Py_complex c1 = ((PyComplexObject *)op1)->cval; in compare_constants()
2611 Py_complex c2 = ((PyComplexObject *)op2)->cval; in compare_constants()
/external/python/cpython3/Doc/c-api/
Dcomplex.rst87 .. c:type:: PyComplexObject
100 Return true if its argument is a :c:type:`PyComplexObject` or a subtype of
101 :c:type:`PyComplexObject`. This function always succeeds.
106 Return true if its argument is a :c:type:`PyComplexObject`, but not a subtype of
107 :c:type:`PyComplexObject`. This function always succeeds.
118 Return a new :c:type:`PyComplexObject` object from *real* and *imag*.
/external/python/cpython3/Include/cpython/
Dcomplexobject.h29 } PyComplexObject; typedef