Closed sharpobject closed 2 years ago
For numbers with lz = 63 before the multiply and multiply results with a leading zero, lz would overflow and become 0, so the parsed result would be too big by a factor of 2^64. Some numbers like this are 0.1 and 0.01. Added these to the test.
Nice catch and thanks a bunch for the patch! Looks good. I appreciate the additional test cases too! :+1:
For numbers with lz = 63 before the multiply and multiply results with a leading zero, lz would overflow and become 0, so the parsed result would be too big by a factor of 2^64. Some numbers like this are 0.1 and 0.01. Added these to the test.