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