1 error: (e.pow(x) - 1) can be computed more accurately
2 --> $DIR/floating_point_exp.rs:6:13
4 LL | let _ = x.exp() - 1.0;
5 | ^^^^^^^^^^^^^ help: consider using: `x.exp_m1()`
7 = note: `-D clippy::imprecise-flops` implied by `-D warnings`
9 error: (e.pow(x) - 1) can be computed more accurately
10 --> $DIR/floating_point_exp.rs:7:13
12 LL | let _ = x.exp() - 1.0 + 2.0;
13 | ^^^^^^^^^^^^^ help: consider using: `x.exp_m1()`
15 error: (e.pow(x) - 1) can be computed more accurately
16 --> $DIR/floating_point_exp.rs:13:13
18 LL | let _ = x.exp() - 1.0;
19 | ^^^^^^^^^^^^^ help: consider using: `x.exp_m1()`
21 error: (e.pow(x) - 1) can be computed more accurately
22 --> $DIR/floating_point_exp.rs:14:13
24 LL | let _ = x.exp() - 1.0 + 2.0;
25 | ^^^^^^^^^^^^^ help: consider using: `x.exp_m1()`
27 error: aborting due to 4 previous errors