We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 348d67b commit 25fb405Copy full SHA for 25fb405
tests/pass/float.rs
@@ -38,8 +38,9 @@ macro_rules! assert_approx_eq {
38
}};
39
40
($a:expr, $b: expr) => {
41
- // accept up to 64ULP (16ULP for host floats and 16ULP for miri artificial error and 32 for any rounding errors)
42
- assert_approx_eq!($a, $b, 64);
+ // accept up to 12ULP (4ULP for host floats and 4ULP for miri artificial error and 4 for any additional effects
+ // due to having multiple error sources.
43
+ assert_approx_eq!($a, $b, 12);
44
};
45
}
46
0 commit comments