Skip to content

StepRng for f64 #1248

@KCrux

Description

@KCrux

Hello,

can someone please provide me code for a StepRng for floats? Like

use rand::rngs::mock::StepRngFloat;
let mut rng = StepRngFloat::new(1.5, 0.5);

I can't adapt it from StepRng :-(. Would appreciate it very much!

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