2 ms·
That's a fair point. Which language do you think does it better, or is there a library you like to use (eg. Haskell's scientific type)?
by bcherny 9y ago
That's a fair point. Which language do you think does it better, or is there a library you like to use (eg. Haskell's scientific type)?
- ridiculous_fish 9y agoFloating point tends to break all sorts of assumptions. For languages without static types, bignum integers and distinct operators for truncating vs FP division is probably best. This is how Python 3 works, plus Haskell and SML (with static types).