Searched refs:PyLong_SHIFT (Results 1 – 8 of 8) sorted by relevance
49 #define PyLong_SHIFT 30 macro57 #define PyLong_SHIFT 1563 #define PyLong_BASE ((digit)1 << PyLong_SHIFT)67 #define SHIFT PyLong_SHIFT71 #if PyLong_SHIFT % 5 != 0
143 t >>= PyLong_SHIFT; in PyLong_FromLong()152 t >>= PyLong_SHIFT; in PyLong_FromLong()171 t >>= PyLong_SHIFT; in PyLong_FromUnsignedLong()179 ival >>= PyLong_SHIFT; in PyLong_FromUnsignedLong()211 ndig = (expo-1) / PyLong_SHIFT + 1; /* Number of 'digits' in result */ in PyLong_FromDouble()215 frac = ldexp(frac, (expo-1) % PyLong_SHIFT + 1); in PyLong_FromDouble()220 frac = ldexp(frac, PyLong_SHIFT); in PyLong_FromDouble()314 x = (x << PyLong_SHIFT) + v->ob_digit[i]; in PyLong_AsLongAndOverflow()315 if ((x >> PyLong_SHIFT) != prev) { in PyLong_AsLongAndOverflow()382 x = (x << PyLong_SHIFT) | v->ob_digit[i]; in PyLong_AsSsize_t()[all …]
139 t >>= PyLong_SHIFT; in PyLong_FromLong()148 t >>= PyLong_SHIFT; in PyLong_FromLong()167 t >>= PyLong_SHIFT; in PyLong_FromUnsignedLong()175 ival >>= PyLong_SHIFT; in PyLong_FromUnsignedLong()207 ndig = (expo-1) / PyLong_SHIFT + 1; /* Number of 'digits' in result */ in PyLong_FromDouble()211 frac = ldexp(frac, (expo-1) % PyLong_SHIFT + 1); in PyLong_FromDouble()216 frac = ldexp(frac, PyLong_SHIFT); in PyLong_FromDouble()310 x = (x << PyLong_SHIFT) + v->ob_digit[i]; in PyLong_AsLongAndOverflow()311 if ((x >> PyLong_SHIFT) != prev) { in PyLong_AsLongAndOverflow()396 x = (x << PyLong_SHIFT) | v->ob_digit[i]; in PyLong_AsSsize_t()[all …]
148 #if PyLong_SHIFT % PyLong_MARSHAL_SHIFT != 0151 #define PyLong_MARSHAL_RATIO (PyLong_SHIFT / PyLong_MARSHAL_SHIFT)
169 #if PyLong_SHIFT % PyLong_MARSHAL_SHIFT != 0172 #define PyLong_MARSHAL_RATIO (PyLong_SHIFT / PyLong_MARSHAL_SHIFT)