soc@programming.dev to Programming@programming.devEnglish · 3 days agoIt's OK to compare floating-points for equalitylisyarus.github.ioexternal-linkmessage-square4fedilinkarrow-up145arrow-down15
arrow-up140arrow-down1external-linkIt's OK to compare floating-points for equalitylisyarus.github.iosoc@programming.dev to Programming@programming.devEnglish · 3 days agomessage-square4fedilink
minus-squareBlue_Morpho@lemmy.worldlinkfedilinkarrow-up9·3 days agoThat’s one case study. He lists many more where throwing an epsilon at a floating point problem is the wrong solution.
That’s one case study. He lists many more where throwing an epsilon at a floating point problem is the wrong solution.