Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dcomplexobject.c221 ((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 …]
/third_party/python/Objects/clinic/
Dcomplexobject.c.h15 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__()
/third_party/python/Doc/c-api/
Dcomplex.rst83 .. c:type:: PyComplexObject
96 Return true if its argument is a :c:type:`PyComplexObject` or a subtype of
97 :c:type:`PyComplexObject`. This function always succeeds.
102 Return true if its argument is a :c:type:`PyComplexObject`, but not a subtype of
103 :c:type:`PyComplexObject`. This function always succeeds.
113 Return a new :c:type:`PyComplexObject` object from *real* and *imag*.
/third_party/python/Include/
Dcomplexobject.h36 } PyComplexObject; typedef