Searched refs:shift_digits (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Objects/ |
D | longobject.c | 2218 Py_ssize_t a_size, a_bits, shift_digits, shift_bits, x_size; in _PyLong_Frexp() local 2268 shift_digits = (DBL_MANT_DIG + 2 - a_bits) / PyLong_SHIFT; in _PyLong_Frexp() 2271 while (x_size < shift_digits) in _PyLong_Frexp() 2279 shift_digits = (a_bits - DBL_MANT_DIG - 2) / PyLong_SHIFT; in _PyLong_Frexp() 2281 rem = v_rshift(x_digits, a->ob_digit + shift_digits, in _PyLong_Frexp() 2282 a_size - shift_digits, (int)shift_bits); in _PyLong_Frexp() 2283 x_size = a_size - shift_digits; in _PyLong_Frexp() 2291 while (shift_digits > 0) in _PyLong_Frexp() 2292 if (a->ob_digit[--shift_digits]) { in _PyLong_Frexp() 3247 Py_ssize_t i, shift_digits = -shift / PyLong_SHIFT; in long_true_divide() local [all …]
|
/external/python/cpython3/Objects/ |
D | longobject.c | 2867 Py_ssize_t a_size, a_bits, shift_digits, shift_bits, x_size; in _PyLong_Frexp() local 2918 shift_digits = (DBL_MANT_DIG + 2 - a_bits) / PyLong_SHIFT; in _PyLong_Frexp() 2920 x_size = shift_digits; in _PyLong_Frexp() 2927 shift_digits = (a_bits - DBL_MANT_DIG - 2) / PyLong_SHIFT; in _PyLong_Frexp() 2929 rem = v_rshift(x_digits, a->ob_digit + shift_digits, in _PyLong_Frexp() 2930 a_size - shift_digits, (int)shift_bits); in _PyLong_Frexp() 2931 x_size = a_size - shift_digits; in _PyLong_Frexp() 2939 while (shift_digits > 0) in _PyLong_Frexp() 2940 if (a->ob_digit[--shift_digits]) { in _PyLong_Frexp() 3991 Py_ssize_t i, shift_digits = -shift / PyLong_SHIFT; in long_true_divide() local [all …]
|