Skip to content

RandomUtils.NextFloat(this Random) can return exactly 1 #166

Description

@skyoxZ

return rand.NextDouble().ToFloat();

It seems RandomUtils.NextFloat(this Random) has a possibility of returning exactly 1.

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingquestionFurther information is requested

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions