Get the latest tech news
Strtod Is Wild
Example article format
If you can zoom forever, numeric precision becomes a problem.This is an early proof-of-concept from(checks notes) over four years ago (⊙▂⊙)That was before I fixed this problem. In fact, in the game, in order to do infinite pan+zoom, the only arbitrary-precision math needed is integers, addition, subtraction, and bit-shifting (i.e. "moving the decimal point," but in binary). In the description for that video, they say rendering the last frame took about 6 hours — it gets harder to compute the farther you zoom, since the numbers need so much precision.
Or read this on Hacker News