Skip to main content

f64_unit

Function f64_unit 

Source
pub fn f64_unit<R: Rng + ?Sized>(rng: &mut R) -> f64
Expand description

Draws a f64 uniformly from [0, 1), using the top 53 bits of one 64-bit word.