2 #![warn(clippy::imprecise_flops)]
8 let _ = (x + 1f32).hypot(y);
10 // Cases where the lint shouldn't be applied
11 // TODO: linting this adds some complexity, but could be done
12 let _ = x.mul_add(x, y * y).sqrt();
13 let _ = (x * 4f32 + y * y).sqrt();