Function

GLibrandom_double_range

Declaration

gdouble
g_random_double_range (
  gdouble begin,
  gdouble end
)

Description

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

Parameters

begin

Type: gdouble

Lower closed bound of the interval.

end

Type: gdouble

Upper open bound of the interval.

Return value

Type: gdouble

A random number.