RFC - Mersenne Twister (SFMT)

BCS ao at pathlink.com
Sat Nov 17 13:42:57 PST 2007


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.




More information about the Digitalmars-d-learn mailing list