Skip to main content

f64_64

Function f64_64 

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

Returns a random f64 distributed as a uniform 64-bit fixed-point real in [0 . . 1) rounded down to the nearest representable value: every float in [2⁻¹² . . 1), and the 2⁵² multiples of 2⁻⁶⁴ below 2⁻¹².