Skip to content

Commit 71c885f

Browse files
committed
---
yaml --- r: 56684 b: refs/heads/try c: c6949b3 h: refs/heads/master v: v3
1 parent 82eacf2 commit 71c885f

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: c081ffbd1e845687202a975ea2e698b623e5722f
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 79a2b2eafc3c766cecec8a5f76317693bae9ed17
5-
refs/heads/try: 82d54602d7493f9a40a040d43ffe5be692582665
5+
refs/heads/try: c6949b3669d23a1694b964108f21d5200c985cb5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libstd/num/complex.rs

Lines changed: 3 additions & 4 deletions
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)