Skip to content

Commit ea713d5

Browse files
committed
Add FIXME related to NaN inputs
1 parent e924310 commit ea713d5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/float.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2471,6 +2471,8 @@ mod tests {
24712471
check(sign_f * f32::MAX, 0xffffff, 104, sign);
24722472
check(sign_f * f32::INFINITY, 0x800000, 105, sign);
24732473
}
2474+
// FIXME: Unclear if we should be able to recover NaN inputs
2475+
// check(f32::NAN, 0xc00000, 105, 1);
24742476
}
24752477

24762478
#[test]
@@ -2495,6 +2497,8 @@ mod tests {
24952497
check(sign_f * f64::MAX, 0x1fffffffffffff, 971, sign);
24962498
check(sign_f * f64::INFINITY, 0x10000000000000, 972, sign);
24972499
}
2500+
// FIXME: Unclear if we should be able to recover NaN inputs
2501+
// check(f64::NAN, 0x18000000000000, 972, 1);
24982502
}
24992503

25002504
#[test]

0 commit comments

Comments
 (0)