@[email protected] to Lemmy [email protected]English • 8 months agoI wishi.imgur.commessage-square185fedilinkarrow-up1906
arrow-up1888imageI wishi.imgur.com@[email protected] to Lemmy [email protected]English • 8 months agomessage-square185fedilink
minus-square@[email protected]linkfedilink2•8 months agoJust return null, nobody knows whether negative numbers can be even
minus-square@[email protected]linkfedilink2•8 months 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