-
Notifications
You must be signed in to change notification settings - Fork 22
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
Handling Overflow #12
Comments
Checked operations sound like a good idea to me, as that's consistent with how Also, there have been proposals in |
Would like to bump this issue. Just stumbled upon
which was unexpected for me. |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently a
FixedDecimal
value can overflow since internally we are using integer math.We should include some kind of system, maybe
checked_*
operations, so that users can choose how overflow is handled. We definitely do not want to ban the overflow behaviour.The text was updated successfully, but these errors were encountered: