Home
last modified time | relevance | path

Searched refs:PyLong_FromDouble (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Objects/
Dfloatobject.c486 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()
Dlongobject.c296 PyLong_FromDouble(double dval) in PyLong_FromDouble() function
/third_party/python/Include/
Dlongobject.h22 PyAPI_FUNC(PyObject *) PyLong_FromDouble(double);
/third_party/python/Modules/
D_datetimemodule.c2368 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()
Dmathmodule.c1221 return PyLong_FromDouble(ceil(x)); in math_ceil()
1289 return PyLong_FromDouble(floor(x)); in math_floor()
/third_party/python/Doc/c-api/
Dlong.rst78 .. c:function:: PyObject* PyLong_FromDouble(double v)
/third_party/python/Doc/data/
Dstable_abi.dat349 function,PyLong_FromDouble,3.2,
Drefcounts.dat1193 PyLong_FromDouble:PyObject*::+1:
1194 PyLong_FromDouble:double:v::
/third_party/python/PC/
Dpython3dll.c332 EXPORT_FUNC(PyLong_FromDouble)
/third_party/python/Misc/NEWS.d/
D3.9.0b1.rst193 Improve performance of :c:func:`PyLong_FromDouble` for values that fit into
/third_party/python/Misc/
Dstable_abi.txt850 function PyLong_FromDouble
/third_party/python/Doc/whatsnew/
D3.9.rst758 * :c:func:`PyLong_FromDouble` is now up to 1.87x faster for values that