Searched refs:PyLong_BASE (Results 1 – 3 of 3) sorted by relevance
63 #define PyLong_BASE ((digit)1 << PyLong_SHIFT) macro64 #define PyLong_MASK ((digit)(PyLong_BASE - 1))68 #define BASE PyLong_BASE
680 PyLong_BASE = 2**sys.long_info.bits_per_digit681 check(long(PyLong_BASE), vsize('') + 2*self.longdigit)682 check(long(PyLong_BASE**2-1), vsize('') + 2*self.longdigit)683 check(long(PyLong_BASE**2), vsize('') + 3*self.longdigit)
1870 log((double)PyLong_BASE)); in PyLong_FromString()1873 if (next > PyLong_BASE) in PyLong_FromString()1915 assert(c < PyLong_BASE); in PyLong_FromString()1938 assert(c < PyLong_BASE); in PyLong_FromString()2158 if (r >= PyLong_BASE) in x_divrem()2161 assert(q <= PyLong_BASE); in x_divrem()2188 assert(q < PyLong_BASE); in x_divrem()2304 dx = dx * PyLong_BASE + x_digits[--x_size]; in _PyLong_Frexp()3215 da = da * PyLong_BASE + a->ob_digit[--a_size]; in long_true_divide()3218 db = db * PyLong_BASE + b->ob_digit[--b_size]; in long_true_divide()[all …]