Skip to content

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

Closed
@skyoxZ

Description

@skyoxZ

return rand.NextDouble().ToFloat();

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

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