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

Commit a65eb91

Browse files
committed
Increase allowed offset from infinity for ynf
Failed with called `Result::unwrap()` on an `Err` value: ynf Caused by: 0: input: (223, 116.89665) as hex: (, 0x1.d3962cp+6) as bits: (0x000000df, 0x42e9cb16) expected: -3.1836905e38 -0x1.df074cp+127 0xff6f83a6 actual: -inf -inf 0xff800000 1: mismatched infinities
1 parent e21748d commit a65eb91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/libm-test/src/precision.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ fn int_float_common<F1: Float, F2: Float>(
537537
&& !expected.is_infinite()
538538
&& actual.is_infinite()
539539
&& (expected.abs().to_bits().abs_diff(actual.abs().to_bits())
540-
< F2::Int::cast_from(1_000_000u32))
540+
< F2::Int::cast_from(10_000_000u32))
541541
{
542542
return XFAIL_NOCHECK;
543543
}

0 commit comments

Comments
 (0)