nave@lemmy.zip to Lemmy Shitpost@lemmy.worldEnglish · 11 months agoI wishi.imgur.comimagemessage-square189fedilinkarrow-up1928arrow-down117
arrow-up1911arrow-down1imageI wishi.imgur.comnave@lemmy.zip to Lemmy Shitpost@lemmy.worldEnglish · 11 months agomessage-square189fedilink
minus-squarefox_the_apprentice@lemmynsfw.comlinkfedilinkEnglisharrow-up1·11 months agodwalinIsEven(-2)
minus-squaredwalin@lemmy.worldlinkfedilinkarrow-up2·11 months agoOk, thanks for the PR. I added a condition if we have an underflow we increment it instead
minus-squareFooBarrington@lemmy.worldlinkfedilinkarrow-up2·11 months agoJust return null, nobody knows whether negative numbers can be even
dwalinIsEven(-2)
Ok, thanks for the PR. I added a condition if we have an underflow we increment it instead
Just return
null
, nobody knows whether negative numbers can be even