1/0 gives infinity that is wrong.
Closed this issue · 7 comments
Code-Recursion commented
dividing 1 by 0 gives infinity that is wrong.
it should show cannot be divisible by 0
handle this exception using js
s-bose commented
Thats what its supposed to do right? Why is that wrong?
MatheusMuriel commented
That is correct. Do you want it to display "Invalid operation"?
piyushverma001 commented
@Code-Recursion Can I work on it if its still open?
piyushverma001 commented
@Code-Recursion This issue has been handled in the PR #17 . Kindly review it.
Cheers Happy Hacking!
MatheusMuriel commented
I fixed not only division by 0, i fixed all invalid operations like " 158*** " (arithmetics errors)
PR: #18
MatheusMuriel commented
@piyushverma001, PR #17 not resolve arithmetics errors
Code-Recursion commented