Ok, thanks for the PR. I added a condition if we have an underflow we increment it instead
Comment on I wish
fox_the_apprentice@lemmynsfw.com 11 months agodwalinIsEven(-2)
dwalin@lemmy.world 11 months ago
Comment on I wish
fox_the_apprentice@lemmynsfw.com 11 months agodwalinIsEven(-2)
Ok, thanks for the PR. I added a condition if we have an underflow we increment it instead
FooBarrington@lemmy.world 11 months ago
Just return
null
, nobody knows whether negative numbers can be even