debian/patches/fix-test.patch
raw| 1 | --- a/tests/roundtrip.rs |
| 2 | +++ b/tests/roundtrip.rs |
| 3 | @@ -333,7 +333,7 @@ |
| 4 | let original_pixels: [(f16,f32,f32); 4] = [ |
| 5 | (0.0.to_f16(), -1.1, std::f32::consts::PI), |
| 6 | (9.1.to_f16(), -3.1, std::f32::consts::TAU), |
| 7 | - (-10.0.to_f16(), -11.1, f32::EPSILON), |
| 8 | + ((-10.0).to_f16(), -11.1, f32::EPSILON), |
| 9 | (half::f16::NAN, 10000.1, -1024.009), |
| 10 | ]; |
| 11 |