You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C++ and Racket agree when dividing by ±0.0±0.0i, but they differ when dividing by ±inf±infi.
Python rejects division by ±0.0±0.0i, gives NaN+NaNi when dividing by a complex number where both components are infinite, and gives ±0.0±0.0i when dividing by a complex number with exactly one infinite component.
Julia gives NaN+NaNi when dividing by ±0.0±0.0i and gives ±0.0±0.0i when dividing by a complex number where one or both of the components is infinite.
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
The text was updated successfully, but these errors were encountered: