-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OverFlow Error #272
Comments
I just realized the value |
Hi, Thanks for submitting an issue! While, we do agree that we shouldn't handle Overflow Errors. We have encountered with end-users that when it goes beyond the range If you have have a better solution, feel free to fork this project and make a Pull Request. |
PR #328 has been merged. It should fix this issue. |
I was wondering if I could get some more information on issue #169 that was closed before, and why it was decided to be handled that way. The value
FFFF
is equivalent to65535
in decimal, not32767
so I'm not sure why the error is thrown at that value. Also, the original MARIE implementation would not throw an error when the valueFFFF
was passed. It would simply wrap around to a negative number, and continue to be incremented from there. This is also the same way overflows of primitive types work in most programming languages.The text was updated successfully, but these errors were encountered: