glib

Function random_double_range

Source
pub fn random_double_range(begin: f64, end: f64) -> f64
Expand description

Returns a random #gdouble equally distributed over the range [@begin..@end).

§begin

lower closed bound of the interval

§end

upper open bound of the interval

§Returns

a random number