Skip to content

Commit 8b267d6

Browse files
committed
these tests seem to work fine on i586 these days
1 parent 9649706 commit 8b267d6

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

library/std/src/f32/tests.rs

-6
Original file line numberDiff line numberDiff line change
@@ -353,9 +353,6 @@ fn test_is_sign_negative() {
353353
assert!((-f32::NAN).is_sign_negative());
354354
}
355355

356-
// Ignore test on x87 floating point, these platforms do not guarantee NaN
357-
// payloads are preserved and flush denormals to zero, failing the tests.
358-
#[cfg(not(target_arch = "x86"))]
359356
#[test]
360357
fn test_next_up() {
361358
let tiny = f32::from_bits(TINY_BITS);
@@ -386,9 +383,6 @@ fn test_next_up() {
386383
assert_f32_biteq!(nan2.next_up(), nan2);
387384
}
388385

389-
// Ignore test on x87 floating point, these platforms do not guarantee NaN
390-
// payloads are preserved and flush denormals to zero, failing the tests.
391-
#[cfg(not(target_arch = "x86"))]
392386
#[test]
393387
fn test_next_down() {
394388
let tiny = f32::from_bits(TINY_BITS);

library/std/src/f64/tests.rs

-6
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,6 @@ fn test_is_sign_negative() {
343343
assert!((-f64::NAN).is_sign_negative());
344344
}
345345

346-
// Ignore test on x87 floating point, these platforms do not guarantee NaN
347-
// payloads are preserved and flush denormals to zero, failing the tests.
348-
#[cfg(not(target_arch = "x86"))]
349346
#[test]
350347
fn test_next_up() {
351348
let tiny = f64::from_bits(TINY_BITS);
@@ -375,9 +372,6 @@ fn test_next_up() {
375372
assert_f64_biteq!(nan2.next_up(), nan2);
376373
}
377374

378-
// Ignore test on x87 floating point, these platforms do not guarantee NaN
379-
// payloads are preserved and flush denormals to zero, failing the tests.
380-
#[cfg(not(target_arch = "x86"))]
381375
#[test]
382376
fn test_next_down() {
383377
let tiny = f64::from_bits(TINY_BITS);

0 commit comments

Comments
 (0)