Skip to content

Random numbers should not be produced using rng() % max. #1040

Description

@iphydf

Modulus creates a bias towards smaller numbers.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3Low priority

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions