mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 03:24:47 +08:00
fixup! Work around i586 wcstod test failure
This commit is contained in:
parent
4d58a31670
commit
6b43a96d09
|
@ -573,7 +573,7 @@ mod test {
|
|||
let mut consumed = 0;
|
||||
let result = wcstod(input, decimalsep, &mut consumed);
|
||||
// There are fundamental issues with f64 accuracy under x87. See #10474 and https://github.com/rust-lang/rust/issues/114479
|
||||
if cfg!(all(target_arch = "x86", not(target_feature = "sse2"))) {
|
||||
if cfg!(any(not(target_arch = "x86"), target_feature = "sse2")) {
|
||||
assert_eq!(result, val);
|
||||
} else {
|
||||
// Make sure the result is at least somewhat sane. We might need to change f64::EPSILON
|
||||
|
|
Loading…
Reference in New Issue
Block a user