clean up internal comments about float semantics
- remove an outdated FIXME - add reference to floating-point semantics issue Co-authored-by: Jubilee <workingjubilee@gmail.com>
This commit is contained in:
parent
3daa9518d5
commit
e556c136f3
4 changed files with 4 additions and 8 deletions
|
|
@ -11,6 +11,7 @@ fn main() {
|
|||
assert_ne!((n as f64) as f32, n as f32);
|
||||
|
||||
// FIXME: these assertions fail if only x87 is enabled
|
||||
// see also https://github.com/rust-lang/rust/issues/114479
|
||||
assert_eq!(n as i64 as f32, r);
|
||||
assert_eq!(n as u64 as f32, r);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue