Home
last modified time | relevance | path

Searched refs:PyLong_FromDouble (Results 1 - 6 of 6) sorted by relevance

/third_party/python/Include/
H A Dlongobject.h20 PyAPI_FUNC(PyObject *) PyLong_FromDouble(double);
/third_party/python/Objects/
H A Dfloatobject.c522 vv = PyLong_FromDouble(intpart); in float_richcompare()
921 return PyLong_FromDouble(PyFloat_AS_DOUBLE(self)); in float___trunc___impl()
935 return PyLong_FromDouble(floor(x)); in float___floor___impl()
949 return PyLong_FromDouble(ceil(x)); in float___ceil___impl()
1094 return PyLong_FromDouble(rounded); in float___round___impl()
1604 to be truncated by PyLong_FromDouble(). */ in float_as_integer_ratio_impl()
1606 numerator = PyLong_FromDouble(float_part); in float_as_integer_ratio_impl()
H A Dlongobject.c377 PyLong_FromDouble(double dval) in PyLong_FromDouble() function
/third_party/python/PC/
H A Dpython3dll.c338 EXPORT_FUNC(PyLong_FromDouble)
/third_party/python/Modules/
H A D_datetimemodule.c2465 x = PyLong_FromDouble(intpart); in accum()
2490 x = PyLong_FromDouble(intpart); in accum()
6892 us_per_hour = PyLong_FromDouble(3600000000.0); in _datetime_exec()
6893 us_per_day = PyLong_FromDouble(86400000000.0); in _datetime_exec()
6894 us_per_week = PyLong_FromDouble(604800000000.0); in _datetime_exec()
H A Dmathmodule.c1234 return PyLong_FromDouble(ceil(x)); in math_ceil()
1305 return PyLong_FromDouble(floor(x)); in math_floor()

Completed in 25 milliseconds