lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> math.randomseed (x [, y])
> 
> Sets x and y as the "seed" for the pseudo-random generator: equal seeds produce equal sequences of numbers. The default for y is zero.
> ------------------------------------------------------------
> 
> Does anyone knows what's the purpose of the y argument, besides making the seed "bidmensional".
> 
> Cheers!
> 
> -- Lorenzo

It allowed for up to 2^128 different seeds.