Searched refs:PyLong_SHIFT (Results 1 – 3 of 3) 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
127 t >>= PyLong_SHIFT; in PyLong_FromLong()136 t >>= PyLong_SHIFT; in PyLong_FromLong()155 t >>= PyLong_SHIFT; in PyLong_FromUnsignedLong()163 ival >>= PyLong_SHIFT; in PyLong_FromUnsignedLong()195 ndig = (expo-1) / PyLong_SHIFT + 1; /* Number of 'digits' in result */ in PyLong_FromDouble()199 frac = ldexp(frac, (expo-1) % PyLong_SHIFT + 1); in PyLong_FromDouble()204 frac = ldexp(frac, PyLong_SHIFT); in PyLong_FromDouble()298 x = (x << PyLong_SHIFT) + v->ob_digit[i]; in PyLong_AsLongAndOverflow()299 if ((x >> PyLong_SHIFT) != prev) { in PyLong_AsLongAndOverflow()384 x = (x << PyLong_SHIFT) | v->ob_digit[i]; in PyLong_AsSsize_t()[all …]
163 #if PyLong_SHIFT % PyLong_MARSHAL_SHIFT != 0166 #define PyLong_MARSHAL_RATIO (PyLong_SHIFT / PyLong_MARSHAL_SHIFT)