Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upInteger division by 0 should error #565
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Closing this for the more comprehensive #590. |
jvoigtlaender
closed this
May 10, 2016
jvoigtlaender
referenced this issue
May 10, 2016
Closed
Inconsistencies with various division operators and NaN/Infinity #590
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jvoigtlaender commentedApr 19, 2016
Currently this:
prints zero, whereas this:
raises a runtime error.
Raising a runtime error on
1 % 0was a conscious decision, see elm/compiler#262 (comment), and it seems that1 // 0should behave accordingly.