“A calculator app? Anyone could make that”(chadnauseam.com)
1683 points by pie_flavor | 407 comments
Blog post retelling a tweet thread on why building an accurate calculator app is hard, covering precision issues like (10^100)+1-(10^100) returning 0.


![Screenshot of lemire.me: How many floating-point numbers are in the interval [0,1]? (2017)](https://hn.urlbox.com/shots/renders/2023/4/15/62642e81-1970-4fc0-965c-15ad3423fe06.jpg)



