Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 8 months agoInfallible Codelemmy.mlimagemessage-square165linkfedilinkarrow-up1490arrow-down126
arrow-up1464arrow-down1imageInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 8 months agomessage-square165linkfedilink
minus-squareI Cast Fist@programming.devlinkfedilinkarrow-up5·8 months agoOh shit, gotta check the negative numbers as well!
minus-squareShayeta@feddit.orglinkfedilinkEnglisharrow-up1·8 months agoYou can do that more efficiently by using abs(number).
Oh shit, gotta check the negative numbers as well!
You can do that more efficiently by using abs(number).