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