glib

Function random_double

Source
pub fn random_double() -> f64
Expand description

Returns a random #gdouble equally distributed over the range [0..1).

§Returns

a random number