1 error: multiply and add expressions can be calculated more efficiently and accurately
2 --> $DIR/floating_point_powi.rs:9:13
4 LL | let _ = x.powi(2) + y;
5 | ^^^^^^^^^^^^^ help: consider using: `x.mul_add(x, y)`
7 = note: `-D clippy::suboptimal-flops` implied by `-D warnings`
9 error: multiply and add expressions can be calculated more efficiently and accurately
10 --> $DIR/floating_point_powi.rs:10:13
12 LL | let _ = x + y.powi(2);
13 | ^^^^^^^^^^^^^ help: consider using: `y.mul_add(y, x)`
15 error: multiply and add expressions can be calculated more efficiently and accurately
16 --> $DIR/floating_point_powi.rs:11:13
18 LL | let _ = (x.powi(2) + y).sqrt();
19 | ^^^^^^^^^^^^^^^ help: consider using: `x.mul_add(x, y)`
21 error: multiply and add expressions can be calculated more efficiently and accurately
22 --> $DIR/floating_point_powi.rs:12:13
24 LL | let _ = (x + y.powi(2)).sqrt();
25 | ^^^^^^^^^^^^^^^ help: consider using: `y.mul_add(y, x)`
27 error: aborting due to 4 previous errors