Lines Matching refs:base
20 // base-N string representation of a number. To increase accuracy, the array
36 // Raises {base} to the power of {exponent}. Does not check for overflow.
37 digit_t digit_pow(digit_t base, digit_t exponent) {
41 result *= base;
44 base *= base;
50 constexpr digit_t digit_pow_rec(digit_t base, digit_t exponent) {
51 return exponent == 1 ? base : base * digit_pow_rec(base, exponent - 1);
281 // two halves that are register-sized and bail out to the base case.
289 // digits into a register for the base case.
448 // Step 0: if only one digit is left, bail out to the base case.