We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8234ad commit a3858f9Copy full SHA for a3858f9
compiler-builtins/libm/crates/libm-test/src/precision.rs
@@ -270,6 +270,16 @@ impl MaybeOverride<(f64,)> for SpecialCase {
270
return XFAIL;
271
}
272
273
+ if (ctx.fn_ident == Identifier::Ceil || ctx.fn_ident == Identifier::Floor)
274
+ && expected.eq_repr(F::NEG_ZERO)
275
+ && actual.eq_repr(F::ZERO)
276
+ && cfg!(x86_no_sse)
277
+ {
278
+ // FIXME: the x87 implementations do not keep the distinction between -0.0 and 0.0.
279
+ // See https://github.com/rust-lang/libm/pull/404#issuecomment-2572399955
280
+ return XFAIL;
281
+ }
282
+
283
maybe_check_nan_bits(actual, expected, ctx)
284
285
0 commit comments