Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
Dlongobject.h20 PyAPI_FUNC(PyObject *) PyLong_FromDouble(double);
/external/python/cpython3/Objects/
Dfloatobject.c466 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()
Dlongobject.c417 PyLong_FromDouble(double dval) in PyLong_FromDouble() function
/external/python/cpython3/Include/
Dlongobject.h22 PyAPI_FUNC(PyObject *) PyLong_FromDouble(double);
/external/python/cpython2/PC/os2vacpp/
Dpython.def238 PyLong_FromDouble
/external/python/cpython2/Objects/
Dfloatobject.c551 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()
Dobject.c1050 plong = PyLong_FromDouble(v); in _Py_HashDouble()
Dlongobject.c172 PyLong_FromDouble(double dval) in PyLong_FromDouble() function
/external/python/cpython3/Modules/
Dmathmodule.c1211 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()
D_datetimemodule.c2377 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()
/external/python/cpython2/Doc/c-api/
Dlong.rst80 .. c:function:: PyObject* PyLong_FromDouble(double v)
/external/python/cpython3/PC/
Dpython3.def330 PyLong_FromDouble=python39.PyLong_FromDouble
/external/python/cpython2/Modules/
Ddatetimemodule.c1885 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()
Dmathmodule.c1100 lx = PyLong_FromDouble(dx); in math_factorial()
/external/python/cpython3/Doc/c-api/
Dlong.rst78 .. c:function:: PyObject* PyLong_FromDouble(double v)
/external/python/cpython2/PC/os2emx/
Dpython27.def394 "PyLong_FromDouble"
/external/python/cpython2/Doc/data/
Drefcounts.dat650 PyLong_FromDouble:PyObject*::+1:
651 PyLong_FromDouble:double:v::
/external/python/cpython3/Misc/NEWS.d/
D3.9.0b1.rst193 Improve performance of :c:func:`PyLong_FromDouble` for values that fit into
/external/python/cpython3/Doc/data/
Drefcounts.dat1185 PyLong_FromDouble:PyObject*::+1:
1186 PyLong_FromDouble:double:v::
/external/python/cpython3/Doc/whatsnew/
D3.9.rst750 * :c:func:`PyLong_FromDouble` is now up to 1.87x faster for values that