Home
last modified time | relevance | path

Searched refs:_PyLong_DECIMAL_BASE (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Include/
Dlongintrepr.h51 #define _PyLong_DECIMAL_BASE ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */ macro
59 #define _PyLong_DECIMAL_BASE ((digit)10000) /* 10 ** DECIMAL_SHIFT */
/external/python/cpython2/Include/
Dlongintrepr.h51 #define _PyLong_DECIMAL_BASE ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */ macro
59 #define _PyLong_DECIMAL_BASE ((digit)10000) /* 10 ** DECIMAL_SHIFT */
/external/python/cpython2/Objects/
Dlongobject.c1384 hi = (digit)(z / _PyLong_DECIMAL_BASE); in long_to_decimal_string()
1386 _PyLong_DECIMAL_BASE); in long_to_decimal_string()
1389 pout[size++] = hi % _PyLong_DECIMAL_BASE; in long_to_decimal_string()
1390 hi /= _PyLong_DECIMAL_BASE; in long_to_decimal_string()
/external/python/cpython3/Objects/
Dlongobject.c1628 hi = (digit)(z / _PyLong_DECIMAL_BASE); in long_to_decimal_string_internal()
1630 _PyLong_DECIMAL_BASE); in long_to_decimal_string_internal()
1633 pout[size++] = hi % _PyLong_DECIMAL_BASE; in long_to_decimal_string_internal()
1634 hi /= _PyLong_DECIMAL_BASE; in long_to_decimal_string_internal()