5 ms·
Ugh, you're preaching to the choir. I wasn't trying to make a point about the equality operator, I was trying to make a point about x and y being completely di
by civility 7y ago
Ugh, you're preaching to the choir. I wasn't trying to make a point about the equality operator, I was trying to make a point about x and y being completely different. I must be really bad at communicating with people.
- firethief 7y agoThat's the thing: x and y are not "completely different"; they are within the tolerance one would use to compare them correctly.
- civility 7y agoSo umm, more than a "difference in the realm of 6-8 significant digits"?
- firethief 7y agoThat construction can turn any residual N digits out into a first digit difference. It wouldn't matter without making comparisons with tolerance way under the noise floor of the dataset. But yes, you have technically invented a situation that differs from that real-world anecdote in regard to that property, in an extremely literal interpretation.
- civility 7y agoAnd here I was, worried I might be tedious or pedantic, trying to argue that floating point is just not that simple. You've really outdone me in that regard.