Lines Matching refs:radix
299 Status ToString(char* out, int* out_length, Digits X, int radix, bool sign);
342 int ToStringResultLength(Digits X, int radix, bool sign);
418 // whereas the final result will be slightly smaller (depending on {radix}).
431 ALWAYS_INLINE CharIt Parse(CharIt start, CharIt end, digit_t radix);
447 ALWAYS_INLINE CharIt ParsePowerTwo(CharIt start, CharIt end, digit_t radix);
499 digit_t radix) {
500 radix_ = static_cast<uint8_t>(radix);
501 const int char_bits = kCharBits[radix >> 2];
510 if (c > 127 || (d = bigint::kCharValue[c]) >= radix) {
534 CharIt FromStringAccumulator::Parse(CharIt start, CharIt end, digit_t radix) {
535 BIGINT_H_DCHECK(2 <= radix && radix <= 36);
538 const digit_t kMaxMultiplier = (~digit_t{0}) / radix;
541 // The max supported radix is 36, and Math.log2(36) == 5.169..., so we
546 if (!inline_everything_ && (radix & (radix - 1)) == 0) {
547 return ParsePowerTwo(start, end, radix);
556 if (c > 127 || (d = bigint::kCharValue[c]) >= radix) {
563 if (__builtin_mul_overflow(multiplier, radix, &new_multiplier)) break;
567 multiplier *= radix;
569 part = part * radix + d;