Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix issue #46665,
prod(::Array{BigInt})
The way we were counting the number of bits was assigning a negative number to `0`, which could lead to a negative total number of bits. Better to just exit early in this case. Also, the estimate was slightly off because we were counting the number of leading zeros in the least significant limb, instead of the most significant.
- Loading branch information