lua-users home
lua-l archive

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


> is math.random uses xorshift128+ algorithm ?
>
> why is the code different from https://en.m.wikipedia.org/wiki/Xorshift ?

See these:
http://xoroshiro.di.unimi.it
http://xoroshiro.di.unimi.it/xorshift128plus.c
https://stackoverflow.com/questions/34426499/what-is-the-real-definition-of-the-xorshift128-algorithm