Function randomize::formulas::ieee754_random_f64
source · pub fn ieee754_random_f64<F: FnMut() -> u32>(f: F, signed: bool) -> f64
Expand description
Generates an f64
in the signed or unsigned unit range.
- signed:
[-1.0, 1.0]
- unsigned:
[0.0, 1.0]