We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3801b1 commit ca6786fCopy full SHA for ca6786f
1 file changed
tests/pass/float.rs
@@ -47,8 +47,9 @@ macro_rules! assert_approx_eq {
47
}};
48
49
($a:expr, $b: expr) => {
50
- // accept up to 8ULP (4ULP for host floats and 4ULP for miri artificial error).
51
- assert_approx_eq!($a, $b, 8);
+ // Accept up to 10ULP (4ULP for miri artificial error and the rest for host floats).
+ // We saw failures on an i686-linux host with a limit of 8!
52
+ assert_approx_eq!($a, $b, 10);
53
};
54
}
55
0 commit comments