Skip to content

Commit

Permalink
Remove FIXME related to NaN inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
mtilda committed Jun 28, 2024
1 parent a6e2912 commit 300a7f9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/float.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2470,8 +2470,6 @@ mod tests {
test_integer_decode(sign_f * f32::MAX, (0xffffff, 104, sign));
test_integer_decode(sign_f * f32::INFINITY, (0x800000, 105, sign));
}
// FIXME: Unclear if we should be able to recover NaN inputs
// test_integer_decode(f32::NAN, (0xc00000, 105, 1));
}

#[test]
Expand All @@ -2494,8 +2492,6 @@ mod tests {
test_integer_decode(sign_f * f64::MAX, (0x1fffffffffffff, 971, sign));
test_integer_decode(sign_f * f64::INFINITY, (0x10000000000000, 972, sign));
}
// FIXME: Unclear if we should be able to recover NaN inputs
// test_integer_decode(f64::NAN, (0x18000000000000, 972, 1));
}

#[test]
Expand Down

0 comments on commit 300a7f9

Please sign in to comment.