@[email protected] to [email protected]English • 4 months agoHow Python Compares Floats and Ints: When Equals Isn’t Really Equalblog.codingconfessions.comexternal-linkmessage-square43fedilinkarrow-up1143arrow-down19cross-posted to: programming
arrow-up1134arrow-down1external-linkHow Python Compares Floats and Ints: When Equals Isn’t Really Equalblog.codingconfessions.com@[email protected] to [email protected]English • 4 months agomessage-square43fedilinkcross-posted to: programming
minus-square@[email protected]linkfedilinkEnglish26•4 months agoIf i’m comparing ints with floats, it is my fault in the first place
minus-square@[email protected]linkfedilinkEnglish2•4 months agoExactly, I’d expect a warning, if not an error.
If i’m comparing ints with floats, it is my fault in the first place
Exactly, I’d expect a warning, if not an error.