Searched refs:PyLong_FromDouble (Results 1 – 12 of 12) sorted by relevance
486 vv = PyLong_FromDouble(intpart); in float_richcompare()885 return PyLong_FromDouble(PyFloat_AS_DOUBLE(self)); in float___trunc___impl()899 return PyLong_FromDouble(floor(x)); in float___floor___impl()913 return PyLong_FromDouble(ceil(x)); in float___ceil___impl()1058 return PyLong_FromDouble(rounded); in float___round___impl()1570 numerator = PyLong_FromDouble(float_part); in float_as_integer_ratio_impl()
296 PyLong_FromDouble(double dval) in PyLong_FromDouble() function
22 PyAPI_FUNC(PyObject *) PyLong_FromDouble(double);
2368 x = PyLong_FromDouble(intpart); in accum()2393 x = PyLong_FromDouble(intpart); in accum()6684 us_per_hour = PyLong_FromDouble(3600000000.0); in _datetime_exec()6685 us_per_day = PyLong_FromDouble(86400000000.0); in _datetime_exec()6686 us_per_week = PyLong_FromDouble(604800000000.0); in _datetime_exec()
1221 return PyLong_FromDouble(ceil(x)); in math_ceil()1289 return PyLong_FromDouble(floor(x)); in math_floor()
78 .. c:function:: PyObject* PyLong_FromDouble(double v)
349 function,PyLong_FromDouble,3.2,
1193 PyLong_FromDouble:PyObject*::+1:1194 PyLong_FromDouble:double:v::
332 EXPORT_FUNC(PyLong_FromDouble)
193 Improve performance of :c:func:`PyLong_FromDouble` for values that fit into
850 function PyLong_FromDouble
758 * :c:func:`PyLong_FromDouble` is now up to 1.87x faster for values that