mirror of
https://github.com/storytold/gridcraft.git
synced 2026-12-02 02:33:55 -06:00
Rounding to 15 significant digits divided by an inexact power of ten, so a number near the largest double came back with a changed 16th digit: three copies of the largest double filled 1.797693134862311e308. The rounding now goes through the number's exact decimal expansion, and a number whose rounding would pass the largest double keeps its value.