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