ulfjack / ryu

Converts floating point numbers to decimal strings
Apache License 2.0
1.19k stars 99 forks source link

Fix #157 #158

Closed abolz closed 4 years ago

abolz commented 4 years ago

multipleOfPowerOf2 only works for exponents < 64.

In this case here we have 0 < m10 < 2^64, so m10 can never be a multiple of 2^p if p >= 64.

ulfjack commented 4 years ago

Thanks!