diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-04-05 19:26:58 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-04-05 19:26:58 +1100 |
| commit | c6949b3669d23a1694b964108f21d5200c985cb5 (patch) | |
| tree | 46ea7292032a3843b4d54c077fa53dbb6c2d9d8b | |
| parent | 82d54602d7493f9a40a040d43ffe5be692582665 (diff) | |
| download | rust-c6949b3669d23a1694b964108f21d5200c985cb5.tar.gz rust-c6949b3669d23a1694b964108f21d5200c985cb5.zip | |
libstd: make complex.rs XXX's into issues and FIXME's
| -rw-r--r-- | src/libstd/num/complex.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libstd/num/complex.rs b/src/libstd/num/complex.rs index ceb1078d3f2..1e8fc0e6c2b 100644 --- a/src/libstd/num/complex.rs +++ b/src/libstd/num/complex.rs @@ -17,8 +17,8 @@ use core::prelude::*; // FIXME #1284: handle complex NaN & infinity etc. This // probably doesn't map to C's _Complex correctly. -// XXX: Need generic sqrt to implement .norm(). Need generic sin/cos -// for .to/from_polar(). +// FIXME #5734:: Need generic sin/cos for .to/from_polar(). +// FIXME #5735: Need generic sqrt to implement .norm(). /// A complex number in Cartesian form. @@ -75,7 +75,6 @@ impl<T: Copy + Add<T,T> + Sub<T,T> + Mul<T,T> + Div<T,T> + Neg<T>> let norm_sqr = self.norm_sqr(); Cmplx::new(self.re / norm_sqr, -self.im / norm_sqr) - } } @@ -233,7 +232,7 @@ mod test { #[should_fail] #[ignore] fn test_inv_zero() { - // XXX: should this really fail, or just NaN? + // FIXME #5736: should this really fail, or just NaN? _0_0i.inv(); } |
