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