-
Notifications
You must be signed in to change notification settings - Fork 52
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 on num::rational::Ratio #6
Comments
We have some options regarding how to fix this.
|
2 sounds like the best option for now. |
At least in debug mode, this panics now. Can this be closed, or should it panic in release mode as well? |
It would be nice to implement 1, as an additional constructor (e.g. |
From @rust-highfive on September 28, 2014 22:43
Issue by klutzy
Wednesday Aug 27, 2014 at 07:50 GMT
For earlier discussion, see rust-lang/rust#16782
This issue was labelled with: in the Rust repository
Here
a
actually is-1 / MIN
due to overflow inreduce()
:Copied from original issue: rust-num/num#12
The text was updated successfully, but these errors were encountered: