Lines Matching full:borrow
210 /// @returns the borrow out of the subtraction
216 y = 1; // We have to "borrow 1" from next "digit"
218 y = 0; // No need to borrow
263 /// @returns returns the borrow out.
267 bool borrow = false;
269 uint64_t x_tmp = borrow ? x[i] - 1 : x[i];
270 borrow = y[i] > x_tmp || (borrow && x[i] == 0);
273 return borrow;
1588 // the true value, and a "borrow" to the left should be remembered.
1589 int64_t borrow = 0;
1592 int64_t subres = int64_t(u[j+i]) - borrow - (unsigned)p;
1594 borrow = (p >> 32) - (subres >> 32);
1596 << ", borrow = " << borrow << '\n');
1598 bool isNeg = u[j+n] < borrow;
1599 u[j+n] -= (unsigned)borrow;
1615 // since it cancels with the borrow that occurred in D4.
2874 /* Decrement a bignum in-place, return the borrow flag. */
2879 // higher-order words of the integer and no borrow can occur. Exit early.
2883 // If every word was zero, then there is a borrow.