1 error: log base can be expressed more clearly
2 --> $DIR/floating_point_logbase.rs:7:13
4 LL | let _ = x.ln() / y.ln();
5 | ^^^^^^^^^^^^^^^ help: consider using: `x.log(y)`
7 = note: `-D clippy::suboptimal-flops` implied by `-D warnings`
9 error: log base can be expressed more clearly
10 --> $DIR/floating_point_logbase.rs:8:13
12 LL | let _ = x.log2() / y.log2();
13 | ^^^^^^^^^^^^^^^^^^^ help: consider using: `x.log(y)`
15 error: log base can be expressed more clearly
16 --> $DIR/floating_point_logbase.rs:9:13
18 LL | let _ = x.log10() / y.log10();
19 | ^^^^^^^^^^^^^^^^^^^^^ help: consider using: `x.log(y)`
21 error: log base can be expressed more clearly
22 --> $DIR/floating_point_logbase.rs:10:13
24 LL | let _ = x.log(5f32) / y.log(5f32);
25 | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `x.log(y)`
27 error: aborting due to 4 previous errors