• Home
  • Raw
  • Download

Lines Matching refs:PyFloat_FromDouble

117     PyStructSequence_SET_ITEM(floatinfo, pos++, PyFloat_FromDouble(flag))  in PyFloat_GetInfo()
141 PyFloat_FromDouble(double fval) in PyFloat_FromDouble() function
230 result = PyFloat_FromDouble(x); in PyFloat_FromString()
644 return PyFloat_FromDouble(a); in float_add()
656 return PyFloat_FromDouble(a); in float_sub()
668 return PyFloat_FromDouble(a); in float_mul()
687 return PyFloat_FromDouble(a); in float_div()
709 return PyFloat_FromDouble(a); in float_classic_div()
744 return PyFloat_FromDouble(mod); in float_rem()
834 return PyFloat_FromDouble(1.0); in float_pow()
837 return PyFloat_FromDouble(iv); in float_pow()
840 return PyFloat_FromDouble(iv == 1.0 ? 1.0 : iw); in float_pow()
851 return PyFloat_FromDouble(1.0); in float_pow()
853 return PyFloat_FromDouble(fabs(iw)); /* return inf */ in float_pow()
855 return PyFloat_FromDouble(0.0); in float_pow()
864 return PyFloat_FromDouble(iw_is_odd ? iv : fabs(iv)); in float_pow()
866 return PyFloat_FromDouble(iw_is_odd ? in float_pow()
880 return PyFloat_FromDouble(iw_is_odd ? iv : 0.0); in float_pow()
912 return PyFloat_FromDouble(negate_result ? -1.0 : 1.0); in float_pow()
935 return PyFloat_FromDouble(ix); in float_pow()
943 return PyFloat_FromDouble(-v->ob_fval); in float_neg()
949 return PyFloat_FromDouble(fabs(v->ob_fval)); in float_abs()
963 *pw = PyFloat_FromDouble((double)x); in float_coerce()
971 *pw = PyFloat_FromDouble(x); in float_coerce()
1106 return PyFloat_FromDouble(rounded); in _Py_double_round()
1217 result = PyFloat_FromDouble(rounded); in _Py_double_round()
1251 return PyFloat_FromDouble(x); in _Py_double_round()
1276 return PyFloat_FromDouble(z); in _Py_double_round()
1287 v = PyFloat_FromDouble(((PyFloatObject *)v)->ob_fval); in float_float()
1988 return PyFloat_FromDouble(0.0); in float_getzero()