Closed bojlahg closed 3 years ago
In my case fixed by replacing "return (int)((64-LZC(t.bits64[i])) + i64);" with "return (int)((1+LZC(t.bits64[i])) + i64);" in Int::GetBitLength().
It happens if system has no support of LZCNT instruction.
In my case fixed by replacing "return (int)((64-LZC(t.bits64[i])) + i64);" with "return (int)((1+LZC(t.bits64[i])) + i64);" in Int::GetBitLength().