Home
last modified time | relevance | path

Searched refs:shift_digits (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/
Dlongobject.c2218 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/
Dlongobject.c2751 Py_ssize_t a_size, a_bits, shift_digits, shift_bits, x_size; in _PyLong_Frexp() local
2801 shift_digits = (DBL_MANT_DIG + 2 - a_bits) / PyLong_SHIFT; in _PyLong_Frexp()
2804 while (x_size < shift_digits) in _PyLong_Frexp()
2812 shift_digits = (a_bits - DBL_MANT_DIG - 2) / PyLong_SHIFT; in _PyLong_Frexp()
2814 rem = v_rshift(x_digits, a->ob_digit + shift_digits, in _PyLong_Frexp()
2815 a_size - shift_digits, (int)shift_bits); in _PyLong_Frexp()
2816 x_size = a_size - shift_digits; in _PyLong_Frexp()
2824 while (shift_digits > 0) in _PyLong_Frexp()
2825 if (a->ob_digit[--shift_digits]) { in _PyLong_Frexp()
3881 Py_ssize_t i, shift_digits = -shift / PyLong_SHIFT; in long_true_divide() local
[all …]