Lines Matching refs:self
890 float_is_integer_impl(PyObject *self)
893 double x = PyFloat_AsDouble(self);
918 float___trunc___impl(PyObject *self)
921 return PyLong_FromDouble(PyFloat_AS_DOUBLE(self));
931 float___floor___impl(PyObject *self)
934 double x = PyFloat_AS_DOUBLE(self);
945 float___ceil___impl(PyObject *self)
948 double x = PyFloat_AS_DOUBLE(self);
1080 float___round___impl(PyObject *self, PyObject *o_ndigits)
1086 x = PyFloat_AsDouble(self);
1137 Return self, the complex conjugate of any float.
1141 float_conjugate_impl(PyObject *self)
1144 return float_float(self);
1239 float_hex_impl(PyObject *self)
1248 CONVERT_TO_DOUBLE(self, x);
1251 return float_repr((PyFloatObject *)self);
1569 float_as_integer_ratio_impl(PyObject *self)
1583 CONVERT_TO_DOUBLE(self, self_double);
1602 /* self == float_part * 2**exponent exactly and float_part is integral.
1720 float___getnewargs___impl(PyObject *self)
1723 return Py_BuildValue("(d)", ((PyFloatObject *)self)->ob_fval);
1807 float___format___impl(PyObject *self, PyObject *format_spec)
1816 self,