Skip to content

Commit 17fea2b

Browse files
authored
Add 'unbiased' to 'Crate Features' section
Wording comes from Cargo.toml
1 parent 9c953d4 commit 17fea2b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ Additionally, these features configure Rand:
8080
- `nightly` includes some additions requiring nightly Rust
8181
- `simd_support` (experimental) enables sampling of SIMD values
8282
(uniformly random SIMD integers and floats), requiring nightly Rust
83+
- `unbiased` use unbiased sampling for algorithms supporting this option: Uniform distribution.
84+
85+
(By default, bias affecting no more than one in 2^48 samples is accepted.)
86+
87+
Note: enabling this option is expected to affect reproducibility of results.
8388

8489
Note that nightly features are not stable and therefore not all library and
8590
compiler versions will be compatible. This is especially true of Rand's

0 commit comments

Comments
 (0)