lua-users home
lua-l archive

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

On Fri, Sep 19, 2008 at 12:58 PM, Gé Weijers <> wrote:
> In general it's a bad idea to use 'rand' for anything critical, it is
> usually implemented as a simple linear congruential generator, which have
> terrible properties. Much better generators exist. My favorite is the 'Well'
> generator

Bob Jenkins' ISAAC (
appears to be quite good, assuming of course it is seeded properly.
It's also in the public domain.