Skip to content

Commit e1c2099

Browse files
committed
Update wording and fuzz test count
1 parent ef806de commit e1c2099

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/etc/test-float-parse/src/gen/exhaustive.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ use std::ops::RangeInclusive;
33

44
use crate::{Float, Generator, Int};
55

6-
/// Test every possible bit pattern. Not recommended for anything larger than `f32`!
6+
/// Test every possible bit pattern. This is infeasible to run on any float types larger than
7+
/// `f32` (which takes about an hour).
78
pub struct Exhaustive<F: Float> {
89
iter: RangeInclusive<F::Int>,
910
}

src/etc/test-float-parse/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ mod gen {
3131
pub mod subnorm;
3232
}
3333

34-
/// Fuzz iterations to run if not specified by CLI arg.
35-
pub const DEFAULT_FUZZ_COUNT: u64 = 100_000_000;
34+
/// Fuzz iterations to run if not specified by CLI arg. By default, test as many conditions
35+
/// as the `f32` exhaustive test.
36+
pub const DEFAULT_FUZZ_COUNT: u64 = u32::MAX as u64;
3637

3738
/// If there are more tests than this threashold, the test will be defered until after all
3839
/// others run (so as to avoid thread pool starvation).

0 commit comments

Comments
 (0)