lua-users home
lua-l archive

Re: Replacing rand()

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


I'm not sure how it would be incorporated into stdlib (I haven't 
looked at that yet), but the code/explanation is here, and it's REAL 
small and trivial to embed:
http://www.math.keio.ac.jp/matumoto/CODES/MT2002/mt19937ar.c
Brian
On 2004年2月23日 20:25:11 +0100 (CET), Reuben Thomas wrote:
>> 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.
>>
>
> I can certainly vouch for the stdlib project being interested.

AltStyle によって変換されたページ (->オリジナル) /