Lines Matching defs:rest
79 char* DivideByMagic(RWDigits rest, Digits input, char* output) {
93 rest[i] = (u_result << kHalfDigitBits) | l_result;
146 // {rest} holds the part of the BigInt that we haven't looked at yet.
148 ScratchDigits rest(digits_.len());
150 // the result == rest; from then on divide the rest in-place.
155 out_ = DivideByMagic<10>(rest, dividend, out_);
156 MAYBE_INTERRUPT(processor_->AddWorkEstimate(rest.len() * 2));
159 processor_->DivideSingle(rest, &chunk, dividend, chunk_divisor_);
163 MAYBE_INTERRUPT(processor_->AddWorkEstimate(rest.len() * 10));
166 rest.Normalize();
167 dividend = rest;
168 } while (rest.len() > 1);
169 out_ = BasecaseLast(rest[0], out_);