Home | History | Annotate | Download | only in Support

Lines Matching full:borrow

211 /// @returns the borrow out of the subtraction
217 y = 1; // We have to "borrow 1" from next "digit"
219 y = 0; // No need to borrow
264 /// @returns returns the borrow out.
268 bool borrow = false;
270 uint64_t x_tmp = borrow ? x[i] - 1 : x[i];
271 borrow = y[i] > x_tmp || (borrow && x[i] == 0);
274 return borrow;
1594 // the true value, and a "borrow" to the left should be remembered.
1595 int64_t borrow = 0;
1598 int64_t subres = int64_t(u[j+i]) - borrow - (unsigned)p;
1600 borrow = (p >> 32) - (subres >> 32);
1602 << ", borrow = " << borrow << '\n');
1604 bool isNeg = u[j+n] < borrow;
1605 u[j+n] -= (unsigned)borrow;
1621 // since it cancels with the borrow that occurred in D4.
2880 /* Decrement a bignum in-place, return the borrow flag. */
2885 // higher-order words of the integer and no borrow can occur. Exit early.
2889 // If every word was zero, then there is a borrow.