Searched refs:PyComplexObject (Results 1 – 4 of 4) sorted by relevance
225 ((PyComplexObject *)op)->cval = cval; in complex_subtype_from_c_complex()232 register PyComplexObject *op; in PyComplex_FromCComplex()235 op = (PyComplexObject *) PyObject_MALLOC(sizeof(PyComplexObject)); in PyComplex_FromCComplex()265 return ((PyComplexObject *)op)->cval.real; in PyComplex_RealAsDouble()276 return ((PyComplexObject *)op)->cval.imag; in PyComplex_ImagAsDouble()324 return ((PyComplexObject *)op)->cval; in PyComplex_AsCComplex()341 cv = ((PyComplexObject *)newop)->cval; in PyComplex_AsCComplex()365 complex_format(PyComplexObject *v, int precision, char format_code) in complex_format()428 complex_print(PyComplexObject *v, FILE *fp, int flags) in complex_print()447 complex_repr(PyComplexObject *v) in complex_repr()[all …]
229 ((PyComplexObject *)op)->cval = cval; in complex_subtype_from_c_complex()236 register PyComplexObject *op; in PyComplex_FromCComplex()239 op = (PyComplexObject *) PyObject_MALLOC(sizeof(PyComplexObject)); in PyComplex_FromCComplex()269 return ((PyComplexObject *)op)->cval.real; in PyComplex_RealAsDouble()280 return ((PyComplexObject *)op)->cval.imag; in PyComplex_ImagAsDouble()328 return ((PyComplexObject *)op)->cval; in PyComplex_AsCComplex()345 cv = ((PyComplexObject *)newop)->cval; in PyComplex_AsCComplex()369 complex_format(PyComplexObject *v, int precision, char format_code) in complex_format()432 complex_print(PyComplexObject *v, FILE *fp, int flags) in complex_print()451 complex_repr(PyComplexObject *v) in complex_repr()[all …]
43 } PyComplexObject; typedef