Skip to main content

unit

Function unit 

Source
pub fn unit(rng: &mut dyn Rng) -> f64
Expand description

Converts one random word to a value in [0, 1) with 53 bits of precision.