pub fn ieee754_random_f32<F: FnMut() -> u32>(f: F, signed: bool) -> f32
Expand description

Generates an f32 in the signed or unsigned unit range.

  • signed: [-1.0, 1.0]
  • unsigned: [0.0, 1.0]