@abhi9u to TechnologyEnglish • 6 months agoHow Python Compares Floats and Ints: When Equals Isn’t Really Equalblog.codingconfessions.comexternal-linkmessage-square43arrow-up1143arrow-down19cross-posted to: [email protected]
arrow-up1134arrow-down1external-linkHow Python Compares Floats and Ints: When Equals Isn’t Really Equalblog.codingconfessions.com@abhi9u to TechnologyEnglish • 6 months agomessage-square43cross-posted to: [email protected]
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖linkfedilinkEnglish5•6 months agoI mean honestly its expected u should check floats similarity not equivalence.
minus-square@SylvartaslinkEnglish4•6 months agoAgreed. But the less experienced programmers I know are surprisingly naive about this.
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖linkfedilinkEnglish3•6 months agoYeah its gonna be one of those problems chatgpt ain’t gonna help
I mean honestly its expected u should check floats similarity not equivalence.
Agreed. But the less experienced programmers I know are surprisingly naive about this.
Yeah its gonna be one of those problems chatgpt ain’t gonna help