Skip to main content

random_unit

Function random_unit 

Source
pub fn random_unit() -> f64
Expand description

Entropy in [0, 1) without adding an RNG dependency: the v4 UUID source is already a CSPRNG. Scheduling jitter needs unpredictability, not statistics.