Home | History | Annotate | Download | only in Objects

Lines Matching refs:diff

3753     Py_ssize_t a_size, b_size, shift, extra_bits, diff, x_size, x_bits;
3884 diff = a_size - b_size;
3885 if (diff > PY_SSIZE_T_MAX/PyLong_SHIFT - 1)
3888 else if (diff < 1 - PY_SSIZE_T_MAX/PyLong_SHIFT)
3892 diff = diff * PyLong_SHIFT + bits_in_digit(a->ob_digit[a_size - 1]) -
3894 /* Now diff = a_bits - b_bits. */
3895 if (diff > DBL_MAX_EXP)
3897 else if (diff < DBL_MIN_EXP - DBL_MANT_DIG - 1)
3901 shift = Py_MAX(diff, DBL_MIN_EXP) - DBL_MANT_DIG - 2;