diff --git a/tests/pass/float.rs b/tests/pass/float.rs index 240fead47d..9c054e7ded 100644 --- a/tests/pass/float.rs +++ b/tests/pass/float.rs @@ -12,8 +12,8 @@ use std::fmt::{Debug, Display, LowerHex}; use std::hint::black_box; use std::{f32, f64}; -// accept up to 54ULP (16ULP for host floats and 16ULP for artificial error and 22 for rounding errors) -const ALLOWED_ULP_DIFF: i128 = 54; +// accept up to 64ULP (16ULP for host floats and 16ULP for artificial error and 32 for any rounding errors) +const ALLOWED_ULP_DIFF: i128 = 64; macro_rules! assert_approx_eq { ($a:expr, $b:expr) => {{ diff --git a/tests/pass/float.stderr b/tests/pass/float.stderr deleted file mode 100644 index 4c384d2a92..0000000000 --- a/tests/pass/float.stderr +++ /dev/null @@ -1,8 +0,0 @@ - -thread 'main' panicked at tests/pass/float.rs:LL:CC: - - $HEX is not approximately equal to $HEX - ulp diff: 40 > 32 - -note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace -note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect