Searched refs:PyComplexObject (Results 1 – 4 of 4) sorted by relevance
221 ((PyComplexObject *)op)->cval = cval; in complex_subtype_from_c_complex()229 PyComplexObject *op = PyObject_Malloc(sizeof(PyComplexObject)); in PyComplex_FromCComplex()260 return ((PyComplexObject *)op)->cval.real; in PyComplex_RealAsDouble()271 return ((PyComplexObject *)op)->cval.imag; in PyComplex_ImagAsDouble()321 return ((PyComplexObject *)op)->cval; in PyComplex_AsCComplex()332 cv = ((PyComplexObject *)newop)->cval; in PyComplex_AsCComplex()349 complex_repr(PyComplexObject *v) in complex_repr()405 complex_hash(PyComplexObject *v) in complex_hash()429 c = ((PyComplexObject *)(obj))->cval; \543 complex_neg(PyComplexObject *v) in complex_neg()[all …]
15 complex_conjugate_impl(PyComplexObject *self);18 complex_conjugate(PyComplexObject *self, PyObject *Py_UNUSED(ignored)) in complex_conjugate()32 complex___getnewargs___impl(PyComplexObject *self);35 complex___getnewargs__(PyComplexObject *self, PyObject *Py_UNUSED(ignored)) in complex___getnewargs__()50 complex___format___impl(PyComplexObject *self, PyObject *format_spec);53 complex___format__(PyComplexObject *self, PyObject *arg) in complex___format__()
83 .. c:type:: PyComplexObject96 Return true if its argument is a :c:type:`PyComplexObject` or a subtype of97 :c:type:`PyComplexObject`. This function always succeeds.102 Return true if its argument is a :c:type:`PyComplexObject`, but not a subtype of103 :c:type:`PyComplexObject`. This function always succeeds.113 Return a new :c:type:`PyComplexObject` object from *real* and *imag*.
36 } PyComplexObject; typedef