ulfjack / ryu

Converts floating point numbers to decimal strings
Apache License 2.0
1.2k stars 100 forks source link

Adjust exponent in case rounding up overflows the significand #159

Closed abolz closed 4 years ago

abolz commented 4 years ago

Rounding up may overflow the 52-bit significand. In this case simply move a trailing zero of the significand into the exponent.

abolz commented 4 years ago

This needs some more work...