Skip to content

Commit ce9e1dd

Browse files
committed
Remove f32 exhaustive lexical r/t (same as ryu)
1 parent 967d685 commit ce9e1dd

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tests/test_exhaustive.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,3 @@ fn test_f32_exhaustive_ryu() {
99
assert!(a == b || (a.is_nan() && b.is_nan()));
1010
}
1111
}
12-
13-
#[test]
14-
#[ignore]
15-
fn test_f32_exhaustive_lexical() {
16-
let mut buf = [0; 1024];
17-
for i in 0..0xFFFF_FFFF_u32 {
18-
let a: f32 = unsafe { core::mem::transmute(i) };
19-
let s = lexical_core::write(a, &mut buf);
20-
let b: f32 = fast_float::parse(s).unwrap();
21-
assert!(a == b || (a.is_nan() && b.is_nan()));
22-
}
23-
}

0 commit comments

Comments
 (0)