Skip to content

Add random float generation to stdlib #1018

Closed
@jdm

Description

@jdm

Easy way: take the result of rand::mk_rng().next() and divide it by 4294967296.0, yielding a float in the range [0.0,1.0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions