Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
  • Loading branch information
kzrnm committed Mar 18, 2024
commit 9435597d3a40806616f4ee6eef1d5e42bf8f69cb
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,7 @@ public static int OmittedLength(int index)
public void MultiplyPowerOfTen(ReadOnlySpan<uint> left, int trailingZeroCount, Span<uint> bits)
{
Debug.Assert(trailingZeroCount >= 0);
if (trailingZeroCount <= UInt32PowersOfTen.Length)
if (trailingZeroCount < UInt32PowersOfTen.Length)
{
BigIntegerCalculator.Multiply(left, UInt32PowersOfTen[trailingZeroCount], bits.Slice(0, left.Length + 1));
return;
Expand Down