Home | History | Annotate | Download | only in python2.7

Lines Matching refs:digit

12    integer type, and one set for 15-bit digits with each digit stored in an
14 configure time or in pyport.h, is used to decide which digit size to use.
16 Type 'digit' should be able to hold 2*PyLong_BASE-1, and type 'twodigits'
18 PyLong_BASE*PyLong_BASE-1. x_sub assumes that 'digit' is an unsigned type,
45 typedef PY_UINT32_T digit;
46 typedef PY_INT32_T sdigit; /* signed variant of digit */
50 #define _PyLong_DECIMAL_SHIFT 9 /* max(e such that 10**e fits in a digit) */
51 #define _PyLong_DECIMAL_BASE ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
53 typedef unsigned short digit;
54 typedef short sdigit; /* signed variant of digit */
58 #define _PyLong_DECIMAL_SHIFT 4 /* max(e such that 10**e fits in a digit) */
59 #define _PyLong_DECIMAL_BASE ((digit)10000) /* 10 ** DECIMAL_SHIFT */
63 #define PyLong_BASE ((digit)1 << PyLong_SHIFT)
64 #define PyLong_MASK ((digit)(PyLong_BASE - 1))
81 digit) is never zero. Also, in all cases, for all valid i,
92 digit ob_digit[1];