Lines Matching refs:borrow
1228 * far as x[m-1], and the remaining borrow (0 or 1) is returned.
1234 digit borrow = 0;
1238 borrow = x[i] - y[i] - borrow;
1239 x[i] = borrow & PyLong_MASK;
1240 borrow >>= PyLong_SHIFT;
1241 borrow &= 1; /* keep only 1 sign bit */
1243 for (; borrow && i < m; ++i) {
1244 borrow = x[i] - borrow;
1245 x[i] = borrow & PyLong_MASK;
1246 borrow >>= PyLong_SHIFT;
1247 borrow &= 1;
1249 return borrow;
2469 digit borrow = 0;
2498 borrow = a->ob_digit[i] - b->ob_digit[i] - borrow;
2499 z->ob_digit[i] = borrow & PyLong_MASK;
2500 borrow >>= PyLong_SHIFT;
2501 borrow &= 1; /* Keep only one sign bit */
2504 borrow = a->ob_digit[i] - borrow;
2505 z->ob_digit[i] = borrow & PyLong_MASK;
2506 borrow >>= PyLong_SHIFT;
2507 borrow &= 1; /* Keep only one sign bit */
2509 assert(borrow == 0);
2769 * underflow (borrow out of the high digit), but we don't care: