As I read this thread I'm not sure I come to the same conclusion that languages implementing Kahan summation is more correct answer. Is 2.0 actually more correct than 0.0? This seems to be the wrong way to think about floats.https://twitter.com/johnmyleswhite/status/977521876904882178 …
-
Show this thread
-
I'd much rather that a language not let you believe that you've recovered precision just because you've cancelled out some of the higher order bits of the significand. Eg it could disallow equality comparisons of floats and only allow you to check if within epsilon.
2 replies 0 retweets 3 likesShow this thread
Replying to @snoble
SML does precisely that (forbids equality on floats)
11:34 PM - 24 Mar 2018
from Capital G, British Columbia
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.