Lines Matching defs:subtrahend
143 dt_subtract_128(uint64_t *minuend, uint64_t *subtrahend, uint64_t *difference)
147 result[0] = minuend[0] - subtrahend[0];
148 result[1] = minuend[1] - subtrahend[1] -
149 (minuend[0] < subtrahend[0] ? 1 : 0);
208 * We initialize subtrahend by shifting divisor left as far as possible. We
209 * loop, comparing subtrahend to dividend: if subtrahend is smaller, we
211 * subtrahend right by one bit for the next comparison.
218 uint64_t subtrahend[2];
231 subtrahend[0] = divisor;
232 subtrahend[1] = 0;
239 dt_shift_128(subtrahend, 128 - log);
243 if (dt_ge_128(remainder, subtrahend)) {
244 dt_subtract_128(remainder, subtrahend, remainder);
249 dt_shift_128(subtrahend, -1);