Skip to main content

f64_53bits

Function f64_53bits 

Source
pub fn f64_53bits(bits: impl FnMut() -> u64) -> f64
Expand description

Returns a random f64 uniform on the 2⁵³ multiples of 2⁻⁵³ in [0 . . 1): the top 53 bits of one word, scaled by 2⁻⁵³.