lua-users home
lua-l archive

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

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,