Skip to content

Missing description of "unbiased" feature flag in README #1615

@Raymi306

Description

@Raymi306

I noticed that all other feature flags get at least a passing mention in the README.

The docs.rs page doesn't directly help:
https://docs.rs/crate/rand/latest/features#unbiased

This feature flag does not enable additional features.

There is a good description in the Cargo.toml which could be reused:

# Option: use unbiased sampling for algorithms supporting this option: Uniform distribution.
# By default, bias affecting no more than one in  2^48 samples is accepted.
# Note: enabling this option is expected to affect reproducibility of results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions