Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 6 days agoInfallible Codelemmy.mlimagemessage-square159fedilinkarrow-up1481arrow-down127
arrow-up1454arrow-down1imageInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 6 days agomessage-square159fedilink
minus-squareI Cast Fist@programming.devlinkfedilinkarrow-up5·4 days agoOh shit, gotta check the negative numbers as well!
minus-squareShayeta@feddit.orglinkfedilinkEnglisharrow-up1·4 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).