abhi9u@lemmy.world to Technology@lemmy.worldEnglish · 6 months agoHow Python Compares Floats and Ints: When Equals Isn’t Really Equalblog.codingconfessions.comexternal-linkmessage-square43fedilinkarrow-up1143arrow-down19cross-posted to: programming@zerobytes.monster
arrow-up1134arrow-down1external-linkHow Python Compares Floats and Ints: When Equals Isn’t Really Equalblog.codingconfessions.comabhi9u@lemmy.world to Technology@lemmy.worldEnglish · 6 months agomessage-square43fedilinkcross-posted to: programming@zerobytes.monster
minus-squareDiabolo96@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up21arrow-down5·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-up13·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