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 0553e1e commit 0f162f7Copy full SHA for 0f162f7
testcrate/tests/conv.rs
@@ -38,7 +38,12 @@ macro_rules! i_to_f {
38
}
39
// Test against native conversion. We disable testing on all `x86` because of
40
// rounding bugs with `i686`.
41
- if !cfg!(target_arch = "x86") && f0 != f1 {
+ if !(f0 == f1
42
+ || cfg!(target_arch = "x86")
43
+ || cfg!(target_arch = "powerpc")
44
+ || cfg!(target_arch = "powerpc64")
45
+ || cfg!(target_arch = "powerpc64le")
46
+ ) {
47
panic!(
48
"{}({}): std: {}, builtins: {}",
49
stringify!($fn),
0 commit comments