Skip to content

Commit 4f25078

Browse files
committed
remove outdated FIXME
1 parent b007aa0 commit 4f25078

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

library/core/src/num/f32.rs

-4
Original file line numberDiff line numberDiff line change
@@ -662,10 +662,6 @@ impl f32 {
662662
// hardware flushes subnormals to zero. These are platforms bugs, and Rust will misbehave on
663663
// such hardware, but we can at least try to make things seem as sane as possible by being
664664
// careful here.
665-
//
666-
// FIXME(jubilee): Using x87 operations is never necessary in order to function
667-
// on x86 processors for Rust-to-Rust calls, so this issue should not happen.
668-
// Code generation should be adjusted to use non-C calling conventions, avoiding this.
669665
if self.is_infinite() {
670666
// A value may compare unequal to infinity, despite having a "full" exponent mask.
671667
FpCategory::Infinite

library/core/src/num/f64.rs

-4
Original file line numberDiff line numberDiff line change
@@ -661,10 +661,6 @@ impl f64 {
661661
// subnormals to zero. These are platforms bugs, and Rust will misbehave on such hardware,
662662
// but we can at least try to make things seem as sane as possible by being careful here.
663663
//
664-
// FIXME(jubilee): Using x87 operations is never necessary in order to function
665-
// on x86 processors for Rust-to-Rust calls, so this issue should not happen.
666-
// Code generation should be adjusted to use non-C calling conventions, avoiding this.
667-
//
668664
// Thus, a value may compare unequal to infinity, despite having a "full" exponent mask.
669665
// And it may not be NaN, as it can simply be an "overextended" finite value.
670666
if self.is_nan() {

0 commit comments

Comments
 (0)