rand_int_range


Description:

[ Version ( since = "2.16" ) ]
public int32 rand_int_range (int32 begin, int32 end)

Gets a reproducible random integer number out of a specified range.

See [func@GLib.test_rand_int] for details on test case random numbers.

Parameters:

begin

the minimum value returned by this function

end

the smallest value not to be returned by this function

Returns:

a number with begin <= number < end


Namespace: GLib.Test
Package: glib-2.0