↓ Skip to main content

“Floating point numbers are imprecise - they cannot represent 0.3 or 10^100.”

Chad Nauseamchadnauseam.com ↗

The iOS calculator says 10^100 plus 1 minus 10^100 is zero. Android says one, because Google gave the job to Hans Boehm. He built it on rationals and recursive real arithmetic until it was exactly right. Most software stops at good enough.