Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
Dlongobject.h20 PyAPI_FUNC(PyObject *) PyLong_FromDouble(double);
/external/python/cpython3/Include/
Dlongobject.h22 PyAPI_FUNC(PyObject *) PyLong_FromDouble(double);
/external/python/cpython3/Objects/
Dfloatobject.c456 vv = PyLong_FromDouble(intpart); in float_richcompare()
914 return PyLong_FromDouble(wholepart); in float___trunc___impl()
1059 return PyLong_FromDouble(rounded); in float___round___impl()
1573 numerator = PyLong_FromDouble(float_part); in float_as_integer_ratio_impl()
Dlongobject.c341 PyLong_FromDouble(double dval) in PyLong_FromDouble() function
/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.c996 return math_1_to_whatever(arg, func, PyLong_FromDouble, can_overflow); in math_1_to_int()
1669 lx = PyLong_FromDouble(dx); in math_factorial()
D_datetimemodule.c2359 x = PyLong_FromDouble(intpart); in accum()
2384 x = PyLong_FromDouble(intpart); in accum()
6470 us_per_hour = PyLong_FromDouble(3600000000.0); in PyInit__datetime()
6471 us_per_day = PyLong_FromDouble(86400000000.0); in PyInit__datetime()
6472 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/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/PC/
Dpython3.def328 PyLong_FromDouble=python37.PyLong_FromDouble
/external/python/cpython3/Doc/c-api/
Dlong.rst80 .. 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/Doc/data/
Drefcounts.dat1157 PyLong_FromDouble:PyObject*::+1:
1158 PyLong_FromDouble:double:v::