Closed likecodingloveproblems closed 11 months ago
In python when an integer divided by zero, ZeroDivisionError returned but when the code is compiled by codon the result is inf. to reproduce bug, you can run the below code.
def zero_division(): print(1 / 0) zero_division()
@likecodingloveproblems Duplicate of #173 See: https://docs.exaloop.io/codon/general/releases#semantics
Also: https://docs.exaloop.io/codon/general/differences
In python when an integer divided by zero, ZeroDivisionError returned but when the code is compiled by codon the result is inf. to reproduce bug, you can run the below code.