1 error: manual implementation of `abs` method
2 --> $DIR/floating_point_abs.rs:10:5
9 | |_____^ help: try: `num.abs()`
11 = note: `-D clippy::suboptimal-flops` implied by `-D warnings`
13 error: manual implementation of `abs` method
14 --> $DIR/floating_point_abs.rs:18:5
21 | |_____^ help: try: `num.abs()`
23 error: manual implementation of `abs` method
24 --> $DIR/floating_point_abs.rs:26:5
31 | |_____^ help: try: `a.a.abs()`
33 error: manual implementation of `abs` method
34 --> $DIR/floating_point_abs.rs:34:5
36 LL | / if 0.0 >= num {
41 | |_____^ help: try: `num.abs()`
43 error: manual implementation of `abs` method
44 --> $DIR/floating_point_abs.rs:42:5
51 | |_____^ help: try: `a.a.abs()`
53 error: manual implementation of negation of `abs` method
54 --> $DIR/floating_point_abs.rs:50:5
61 | |_____^ help: try: `-num.abs()`
63 error: manual implementation of negation of `abs` method
64 --> $DIR/floating_point_abs.rs:58:5
66 LL | / if 0.0 >= num {
71 | |_____^ help: try: `-num.abs()`
73 error: manual implementation of negation of `abs` method
74 --> $DIR/floating_point_abs.rs:67:12
76 LL | a: if a.a >= 0.0 { -a.a } else { a.a },
77 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `-a.a.abs()`
79 error: aborting due to 8 previous errors