abhi9u@lemmy.world to Technology@lemmy.worldEnglish · 6 months agoHow Python Compares Floats and Ints: When Equals Isn’t Really Equalblog.codingconfessions.comexternal-linkmessage-square5fedilinkarrow-up184arrow-down12
arrow-up182arrow-down1external-linkHow Python Compares Floats and Ints: When Equals Isn’t Really Equalblog.codingconfessions.comabhi9u@lemmy.world to Technology@lemmy.worldEnglish · 6 months agomessage-square5fedilink
minus-squareDiabolo96@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up13arrow-down3·edit-26 months agoI geuss it’s something like : if close enough, set to true. Now I’ll read the article and discover it’s like 100x more complex. Edit : It is indeed at least 100x more complex.
minus-squareSwordInStone@lemmy.worldlinkfedilinkEnglisharrow-up8·6 months agoit’s not only more complex it also doesn’t work like you described at all
I geuss it’s something like : if close enough, set to true.
Now I’ll read the article and discover it’s like 100x more complex.
Edit : It is indeed at least 100x more complex.
it’s not only more complex it also doesn’t work like you described at all