Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dlongobject.c2220 digit rem, x_digits[2 + (DBL_MANT_DIG + 1) / PyLong_SHIFT]; in _PyLong_Frexp() local
2272 x_digits[x_size++] = 0; in _PyLong_Frexp()
2273 rem = v_lshift(x_digits + x_size, a->ob_digit, a_size, in _PyLong_Frexp()
2276 x_digits[x_size++] = rem; in _PyLong_Frexp()
2281 rem = v_rshift(x_digits, a->ob_digit + shift_digits, in _PyLong_Frexp()
2289 x_digits[0] |= 1; in _PyLong_Frexp()
2293 x_digits[0] |= 1; in _PyLong_Frexp()
2298 x_size <= (Py_ssize_t)(sizeof(x_digits)/sizeof(digit))); in _PyLong_Frexp()
2301 x_digits[0] += half_even_correction[x_digits[0] & 7]; in _PyLong_Frexp()
2302 dx = x_digits[--x_size]; in _PyLong_Frexp()
[all …]
/external/python/cpython3/Objects/
Dlongobject.c2753 digit rem, x_digits[2 + (DBL_MANT_DIG + 1) / PyLong_SHIFT]; in _PyLong_Frexp() local
2805 x_digits[x_size++] = 0; in _PyLong_Frexp()
2806 rem = v_lshift(x_digits + x_size, a->ob_digit, a_size, in _PyLong_Frexp()
2809 x_digits[x_size++] = rem; in _PyLong_Frexp()
2814 rem = v_rshift(x_digits, a->ob_digit + shift_digits, in _PyLong_Frexp()
2822 x_digits[0] |= 1; in _PyLong_Frexp()
2826 x_digits[0] |= 1; in _PyLong_Frexp()
2830 assert(1 <= x_size && x_size <= (Py_ssize_t)Py_ARRAY_LENGTH(x_digits)); in _PyLong_Frexp()
2833 x_digits[0] += half_even_correction[x_digits[0] & 7]; in _PyLong_Frexp()
2834 dx = x_digits[--x_size]; in _PyLong_Frexp()
[all …]