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