Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 14 days agoInfallible Codelemmy.mlimagemessage-square165fedilinkarrow-up1488arrow-down126
arrow-up1462arrow-down1imageInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 14 days agomessage-square165fedilink
minus-squareI Cast Fist@programming.devlinkfedilinkarrow-up5·12 days agoOh shit, gotta check the negative numbers as well!
minus-squareShayeta@feddit.orglinkfedilinkEnglisharrow-up1·12 days 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).