lua-users home
lua-l archive

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


On Monday 23 February 2004 18:15, Brian Hook wrote:
> I noticed that Math.random() uses the C RTL's rand() function which as
> I'm sure everyone knows, is rather poor.  It would be fairly trivial
> and small to put in an inline Mersenne Twister implementation.

I doubt the Lua authors will be interested in something like that, but I 
imagine that if you made a Lua implementation it would be happily received 
into the stdlib project, or a C module implementation into LuaCheia.