soc@programming.dev to Programming@programming.devEnglish · 15 days agoIt's OK to compare floating-points for equalitylisyarus.github.ioexternal-linkmessage-square4linkfedilinkarrow-up145arrow-down15
arrow-up140arrow-down1external-linkIt's OK to compare floating-points for equalitylisyarus.github.iosoc@programming.dev to Programming@programming.devEnglish · 15 days agomessage-square4linkfedilink
minus-squareBlue_Morpho@lemmy.worldlinkfedilinkarrow-up9·15 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.