-
Notifications
You must be signed in to change notification settings - Fork 51
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
Cmplx division by 0 and NaN #5
Comments
From @stygstra on June 19, 2015 19:1 There isn't much consensus among other languages:
|
Wolfram Alpha gives the answer of Complex infinity, which I think is more mathematically accurate, but not sure of the actual implementation. In Golang's cmplx package, Complex infinity is represented as |
I think that either an error or |
I see that |
From @rust-highfive on November 2, 2014 21:42
Issue by huonw
Friday Apr 05, 2013 at 08:26 GMT
For earlier discussion, see rust-lang/rust#5736
This issue was labelled with: A-libs, B-RFC, I-wrong in the Rust repository
Should
1/(0+0i)
beNaN+NaN i
or fail, or something else.see also #1284
Copied from original issue: rust-num/num#20
The text was updated successfully, but these errors were encountered: