Skip to main content

lcg_rand

Function lcg_rand 

Source
pub fn lcg_rand(seed: &mut u64) -> f32
Expand description

Random float in [0,1] from a LCG seed (mutates seed)