Skip to content

Commit c6949b3

Browse files
committed
libstd: make complex.rs XXX's into issues and FIXME's
1 parent 82d5460 commit c6949b3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/libstd/num/complex.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ use core::prelude::*;
1717
// FIXME #1284: handle complex NaN & infinity etc. This
1818
// probably doesn't map to C's _Complex correctly.
1919

20-
// XXX: Need generic sqrt to implement .norm(). Need generic sin/cos
21-
// for .to/from_polar().
20+
// FIXME #5734:: Need generic sin/cos for .to/from_polar().
21+
// FIXME #5735: Need generic sqrt to implement .norm().
2222

2323

2424
/// 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>>
7575
let norm_sqr = self.norm_sqr();
7676
Cmplx::new(self.re / norm_sqr,
7777
-self.im / norm_sqr)
78-
7978
}
8079
}
8180

@@ -233,7 +232,7 @@ mod test {
233232
#[should_fail]
234233
#[ignore]
235234
fn test_inv_zero() {
236-
// XXX: should this really fail, or just NaN?
235+
// FIXME #5736: should this really fail, or just NaN?
237236
_0_0i.inv();
238237
}
239238

0 commit comments

Comments
 (0)