Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 3 days agoInfallible Codelemmy.mlexternal-linkmessage-square160fedilinkarrow-up1481arrow-down124
arrow-up1457arrow-down1external-linkInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 3 days agomessage-square160fedilink
minus-squareI Cast Fist@programming.devlinkfedilinkarrow-up5·2 days agoOh shit, gotta check the negative numbers as well!
minus-squareShayeta@feddit.orglinkfedilinkEnglisharrow-up1·2 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).