File tree 2 files changed +5
-3
lines changed
src/etc/test-float-parse/src
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ use std::ops::RangeInclusive;
3
3
4
4
use crate :: { Float , Generator , Int } ;
5
5
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).
7
8
pub struct Exhaustive < F : Float > {
8
9
iter : RangeInclusive < F :: Int > ,
9
10
}
Original file line number Diff line number Diff line change @@ -31,8 +31,9 @@ mod gen {
31
31
pub mod subnorm;
32
32
}
33
33
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 ;
36
37
37
38
/// If there are more tests than this threashold, the test will be defered until after all
38
39
/// others run (so as to avoid thread pool starvation).
You can’t perform that action at this time.
0 commit comments