|
On 3/16/2010 11:18 AM, Geoff Leyland wrote:
Even a poorly designed random number generator should generate different streams from different seeds. Is it possible that lua is not passing the seed off to the system's random function properly in some implementations?On windows I got the same results as Christopher. Lua just uses the system's rand, and what you're learning is that rand isn't a great random number generator, and that Windows' implementation is not the best. lhf's lrandom is surely better: http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/