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