Lines Matching defs:subtrahend
155 dt_subtract_128(uint64_t *minuend, uint64_t *subtrahend, uint64_t *difference)
159 result[0] = minuend[0] - subtrahend[0];
160 result[1] = minuend[1] - subtrahend[1] -
161 (minuend[0] < subtrahend[0] ? 1 : 0);
220 * We initialize subtrahend by shifting divisor left as far as possible. We
221 * loop, comparing subtrahend to dividend: if subtrahend is smaller, we
223 * subtrahend right by one bit for the next comparison.
230 uint64_t subtrahend[2];
243 subtrahend[0] = divisor;
244 subtrahend[1] = 0;
251 dt_shift_128(subtrahend, 128 - log);
255 if (dt_ge_128(remainder, subtrahend)) {
256 dt_subtract_128(remainder, subtrahend, remainder);
261 dt_shift_128(subtrahend, -1);