lua-users home
lua-l archive

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


> Does math.random use the same algorithm as the one used by C-code?

Hi Leo,

as far as I know the algorithms are similar bot not identical. Some
details about the TAUS2 algorithm used in he GSL library can be found
here:

http://www.nongnu.org/gsl-shell/doc/random.html

-- 
Francesco