[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.3 (rc3) now available
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 2 Jun 2016 14:43:40 -0300
> Lua manual does not answer why the following seeds lead to the same
> pseudo-random sequence:
> math.randomseed(math.atan(1))
> math.randomseed(math.log(2))
> math.randomseed(math.sin(3))
The manual says "equal seeds produce equal sequences of numbers".
It does not say that "different seeds produce different sequences of numbers".