[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Purpose of second argument for math.randomseed
- From: Albert Chan <albertmcchan@...>
- Date: Fri, 20 Jul 2018 17:50:23 -0400
> 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.