File tree 2 files changed +0
-12
lines changed
2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -353,9 +353,6 @@ fn test_is_sign_negative() {
353
353
assert ! ( ( -f32 :: NAN ) . is_sign_negative( ) ) ;
354
354
}
355
355
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" ) ) ]
359
356
#[ test]
360
357
fn test_next_up ( ) {
361
358
let tiny = f32:: from_bits ( TINY_BITS ) ;
@@ -386,9 +383,6 @@ fn test_next_up() {
386
383
assert_f32_biteq ! ( nan2. next_up( ) , nan2) ;
387
384
}
388
385
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" ) ) ]
392
386
#[ test]
393
387
fn test_next_down ( ) {
394
388
let tiny = f32:: from_bits ( TINY_BITS ) ;
Original file line number Diff line number Diff line change @@ -343,9 +343,6 @@ fn test_is_sign_negative() {
343
343
assert ! ( ( -f64 :: NAN ) . is_sign_negative( ) ) ;
344
344
}
345
345
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" ) ) ]
349
346
#[ test]
350
347
fn test_next_up ( ) {
351
348
let tiny = f64:: from_bits ( TINY_BITS ) ;
@@ -375,9 +372,6 @@ fn test_next_up() {
375
372
assert_f64_biteq ! ( nan2. next_up( ) , nan2) ;
376
373
}
377
374
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" ) ) ]
381
375
#[ test]
382
376
fn test_next_down ( ) {
383
377
let tiny = f64:: from_bits ( TINY_BITS ) ;
You can’t perform that action at this time.
0 commit comments