Skip to content
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

probably need a warning about over/underflowing bounded types #10

Open
frasertweedale opened this issue Aug 3, 2022 · 0 comments
Open

Comments

@frasertweedale
Copy link
Collaborator

Operations in dollaridoos blindly defer to the numeric operations upon the wrapped type.
For bounded numeric types, this can result in overflow or underflow errors.

As this library is designed for safer and more correct monetary computations, it would be
proper to caution the user regarding use with bounded types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant