@random()
@random is an impure function returning a random floating point number between 0 and 1 (included). This is not a pure function because two successive calls are likely to return different results.
The resolution of this random number generator is 1/(2^31 - 1)
, which
means that the minimal step between two numbers in the images of this
function is 1/(2^31 - 1)
.
@random is similar to @rand but relies on a different algorithm to generate the random numbers. See also @rand_int.
See also random related functions: @rand, @rand_int, @random, @rnd_bernoulli, @rnd_binomial, @rnd_exponential, @rnd_gamma, @rnd_geometric, @rnd_normal, @rnd_uniform_float, @rnd_uniform_int