Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 9965e93

Browse files
committed
Add an override for a recent failure
Failed on i686: ──── STDERR: libm-test::bench/random y1f/crate thread 'main' panicked at crates/libm-test/benches/random.rs:76:65: called `Result::unwrap()` on an `Err` value: ynf Caused by: 0: input: (213, 109.15641) (0x000000d5, 0x42da5015) expected: -3.3049217e38 0xff78a27a actual: -inf 0xff800000 1: mismatched infinities
1 parent f6434c8 commit 9965e93

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

crates/libm-test/src/precision.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,13 @@ impl MaybeOverride<(i32, f32)> for SpecialCase {
454454
XFAIL
455455
}
456456

457+
// `ynf(213, 109.15641) = -inf` with our library, should be finite.
458+
(_, BaseName::Yn)
459+
if input.0 > 200 && !expected.is_infinite() && actual.is_infinite() =>
460+
{
461+
XFAIL
462+
}
463+
457464
_ => None,
458465
}
459466
}

0 commit comments

Comments
 (0)