Searched refs:PyLong_FromDouble (Results 1 – 20 of 20) sorted by relevance
20 PyAPI_FUNC(PyObject *) PyLong_FromDouble(double);
466 vv = PyLong_FromDouble(intpart); in float_richcompare()865 return PyLong_FromDouble(PyFloat_AS_DOUBLE(self)); in float___trunc___impl()879 return PyLong_FromDouble(floor(x)); in float___floor___impl()893 return PyLong_FromDouble(ceil(x)); in float___ceil___impl()1038 return PyLong_FromDouble(rounded); in float___round___impl()1550 numerator = PyLong_FromDouble(float_part); in float_as_integer_ratio_impl()
417 PyLong_FromDouble(double dval) in PyLong_FromDouble() function
22 PyAPI_FUNC(PyObject *) PyLong_FromDouble(double);
238 PyLong_FromDouble
551 vv = PyLong_FromDouble(intpart); in float_richcompare()1061 return PyLong_FromDouble(wholepart); in float_trunc()1068 return PyLong_FromDouble(x); in float_long()1755 numerator = PyLong_FromDouble(float_part); in float_as_integer_ratio()
1050 plong = PyLong_FromDouble(v); in _Py_HashDouble()
172 PyLong_FromDouble(double dval) in PyLong_FromDouble() function
1211 return PyLong_FromDouble(ceil(x)); in math_ceil()1279 return PyLong_FromDouble(floor(x)); in math_floor()2071 lx = PyLong_FromDouble(dx); in math_factorial()
2377 x = PyLong_FromDouble(intpart); in accum()2402 x = PyLong_FromDouble(intpart); in accum()6709 us_per_hour = PyLong_FromDouble(3600000000.0); in PyInit__datetime()6710 us_per_day = PyLong_FromDouble(86400000000.0); in PyInit__datetime()6711 us_per_week = PyLong_FromDouble(604800000000.0); in PyInit__datetime()
80 .. c:function:: PyObject* PyLong_FromDouble(double v)
330 PyLong_FromDouble=python39.PyLong_FromDouble
1885 x = PyLong_FromDouble(intpart); in accum()1913 x = PyLong_FromDouble(intpart); in accum()4916 us_per_hour = PyLong_FromDouble(3600000000.0); in initdatetime()4917 us_per_day = PyLong_FromDouble(86400000000.0); in initdatetime()4918 us_per_week = PyLong_FromDouble(604800000000.0); in initdatetime()
1100 lx = PyLong_FromDouble(dx); in math_factorial()
78 .. c:function:: PyObject* PyLong_FromDouble(double v)
394 "PyLong_FromDouble"
650 PyLong_FromDouble:PyObject*::+1:651 PyLong_FromDouble:double:v::
193 Improve performance of :c:func:`PyLong_FromDouble` for values that fit into
1185 PyLong_FromDouble:PyObject*::+1:1186 PyLong_FromDouble:double:v::
750 * :c:func:`PyLong_FromDouble` is now up to 1.87x faster for values that