We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b90af7 commit 2ce1d72Copy full SHA for 2ce1d72
src/lib.rs
@@ -1574,6 +1574,7 @@ mod test {
1574
}
1575
1576
#[test]
1577
+ #[allow(clippy::float_cmp)]
1578
fn test_l1_norm() {
1579
assert_eq!(_0_0i.l1_norm(), 0.0);
1580
assert_eq!(_1_0i.l1_norm(), 1.0);
@@ -1611,6 +1612,7 @@ mod test {
1611
1612
1613
#[cfg_attr(target_arch = "x86", ignore)]
1614
// FIXME #7158: (maybe?) currently failing on x86.
1615
1616
fn test_norm() {
1617
fn test(c: Complex64, ns: f64) {
1618
assert_eq!(c.norm_sqr(), ns);
@@ -2630,6 +2632,7 @@ mod test {
2630
2632
2631
2633
2634
2635
2636
fn test_const() {
2637
const R: f64 = 12.3;
2638
const I: f64 = -4.5;
0 commit comments