[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: new PRNG's
- From: Sergey Rozhenko <sergroj@...>
- Date: Tue, 8 May 2018 16:06:15 +0700
On Пн 07.05.18 20:19, Roberto Ierusalimschy wrote:
What is present today in the latest release of Lua is 'rand'/'random',
not xorshift128plus.
What about LuaJIT's PRNG? Having the same PRNG would be good for
compatibility.
"LuaJIT uses a Tausworthe PRNG with period 2^223 to implement
math.random() and math.randomseed()."
Best regards,
Sergey "GrayFace" Rozhenko, mailto:sergroj@mail.ru