Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/python2....
File: complexobject.h
/* Complex number structure */
[0] Fix | Delete
[1] Fix | Delete
#ifndef Py_COMPLEXOBJECT_H
[2] Fix | Delete
#define Py_COMPLEXOBJECT_H
[3] Fix | Delete
#ifdef __cplusplus
[4] Fix | Delete
extern "C" {
[5] Fix | Delete
#endif
[6] Fix | Delete
[7] Fix | Delete
typedef struct {
[8] Fix | Delete
double real;
[9] Fix | Delete
double imag;
[10] Fix | Delete
} Py_complex;
[11] Fix | Delete
[12] Fix | Delete
/* Operations on complex numbers from complexmodule.c */
[13] Fix | Delete
[14] Fix | Delete
#define c_sum _Py_c_sum
[15] Fix | Delete
#define c_diff _Py_c_diff
[16] Fix | Delete
#define c_neg _Py_c_neg
[17] Fix | Delete
#define c_prod _Py_c_prod
[18] Fix | Delete
#define c_quot _Py_c_quot
[19] Fix | Delete
#define c_pow _Py_c_pow
[20] Fix | Delete
#define c_abs _Py_c_abs
[21] Fix | Delete
[22] Fix | Delete
PyAPI_FUNC(Py_complex) c_sum(Py_complex, Py_complex);
[23] Fix | Delete
PyAPI_FUNC(Py_complex) c_diff(Py_complex, Py_complex);
[24] Fix | Delete
PyAPI_FUNC(Py_complex) c_neg(Py_complex);
[25] Fix | Delete
PyAPI_FUNC(Py_complex) c_prod(Py_complex, Py_complex);
[26] Fix | Delete
PyAPI_FUNC(Py_complex) c_quot(Py_complex, Py_complex);
[27] Fix | Delete
PyAPI_FUNC(Py_complex) c_pow(Py_complex, Py_complex);
[28] Fix | Delete
PyAPI_FUNC(double) c_abs(Py_complex);
[29] Fix | Delete
[30] Fix | Delete
[31] Fix | Delete
/* Complex object interface */
[32] Fix | Delete
[33] Fix | Delete
/*
[34] Fix | Delete
PyComplexObject represents a complex number with double-precision
[35] Fix | Delete
real and imaginary parts.
[36] Fix | Delete
*/
[37] Fix | Delete
[38] Fix | Delete
typedef struct {
[39] Fix | Delete
PyObject_HEAD
[40] Fix | Delete
Py_complex cval;
[41] Fix | Delete
} PyComplexObject;
[42] Fix | Delete
[43] Fix | Delete
PyAPI_DATA(PyTypeObject) PyComplex_Type;
[44] Fix | Delete
[45] Fix | Delete
#define PyComplex_Check(op) PyObject_TypeCheck(op, &PyComplex_Type)
[46] Fix | Delete
#define PyComplex_CheckExact(op) (Py_TYPE(op) == &PyComplex_Type)
[47] Fix | Delete
[48] Fix | Delete
PyAPI_FUNC(PyObject *) PyComplex_FromCComplex(Py_complex);
[49] Fix | Delete
PyAPI_FUNC(PyObject *) PyComplex_FromDoubles(double real, double imag);
[50] Fix | Delete
[51] Fix | Delete
PyAPI_FUNC(double) PyComplex_RealAsDouble(PyObject *op);
[52] Fix | Delete
PyAPI_FUNC(double) PyComplex_ImagAsDouble(PyObject *op);
[53] Fix | Delete
PyAPI_FUNC(Py_complex) PyComplex_AsCComplex(PyObject *op);
[54] Fix | Delete
[55] Fix | Delete
/* Format the object based on the format_spec, as defined in PEP 3101
[56] Fix | Delete
(Advanced String Formatting). */
[57] Fix | Delete
PyAPI_FUNC(PyObject *) _PyComplex_FormatAdvanced(PyObject *obj,
[58] Fix | Delete
char *format_spec,
[59] Fix | Delete
Py_ssize_t format_spec_len);
[60] Fix | Delete
[61] Fix | Delete
#ifdef __cplusplus
[62] Fix | Delete
}
[63] Fix | Delete
#endif
[64] Fix | Delete
#endif /* !Py_COMPLEXOBJECT_H */
[65] Fix | Delete
[66] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function