Home
last modified time | relevance | path

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

/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()