16 references to MaxPartialDigits
System.Runtime.Numerics (16)
System\Number.BigInteger.cs (16)
348int base1E9Length = (intDigits.Length + PowersOf1e9.MaxPartialDigits - 1) / PowersOf1e9.MaxPartialDigits; 355ReadOnlySpan<byte> leadingDigits = intDigits[..(intDigits.Length % PowersOf1e9.MaxPartialDigits)]; 362Debug.Assert(intDigits.Length % PowersOf1e9.MaxPartialDigits == 0); 366uint.TryParse(intDigits.Slice(0, PowersOf1e9.MaxPartialDigits), out base1E9[di]); 367intDigits = intDigits.Slice(PowersOf1e9.MaxPartialDigits); 404int valueDigits = (base1E9.Length - 1) * PowersOf1e9.MaxPartialDigits + FormattingHelpers.CountDigits(base1E9[^1]); 418int leadingLength = checked((int)(digitRatio * PowersOf1e9.MaxPartialDigits * base1E9.Length) + 3); 465int bufferLength = checked((int)(digitRatio * PowersOf1e9.MaxPartialDigits * multiplier1E9Length) + 1 + 2); 501int trailingPartialCount = Math.DivRem(trailingZeroCount, PowersOf1e9.MaxPartialDigits, out int remainingTrailingZeroCount); 752const int MaxPartialDigits = PowersOf1e9.MaxPartialDigits; 931bufferEnd = UInt32ToDecChars(bufferEnd, base1E9Value[i], PowersOf1e9.MaxPartialDigits); 932digits -= PowersOf1e9.MaxPartialDigits; 1083uint scale1E9 = (uint)(digits - 1) / MaxPartialDigits; 1109return (MaxPartialDigits * (1 << index)) >> 5; 1129int trailingPartialCount = Math.DivRem(trailingZeroCount, MaxPartialDigits, out int remainingTrailingZeroCount);