RFC - Mersenne Twister (SFMT)

Tyro[a.c.edwards] no at spam.com
Sun Nov 18 04:09:26 PST 2007


BCS さんは書きました:
> Reply to tyro[a.c.edwards],
> 
>> After reading Julienne Walker's article
>> (http://www.eternallyconfuzzled.com/arts/jsw_art_rand.aspx) on rand()
>> I wondered why the very best psudo-random generator available is not
>> the standard. I looked at the std.random and was not happy to find out
>> that it is slower than I rand() so I attempted to convert Mersenne
>> Twister (again). I'm hoping to get some feedback on how to improve
>> upon the attempt. The actual library
>> (http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/index.html)
>> comes with code for both 64-bit OSes and more.
>>
>> D version: D v2.007
>> OS: Windows XP - sp2
>> Thanks,
>> Andrew
> 
> If you want svn hosting for this you can put it in scrapple:
> 
> http://www.dsource.org/projects/scrapple/
> 
> If you don't have access, send me a username and I'll add you.
> 
> 
Much appreciated. My user name is tyro.


More information about the Digitalmars-d-learn mailing list