RFC - Mersenne Twister (SFMT)
Matti Niemenmaa
see_signature at for.real.address
Sun Nov 18 00:00:11 PST 2007
Derek Parnell wrote:
> LOL ... I did a port to D about a year or so ago, to help teach myself the
> language. I'll try to dig it out for comparision. I remember adding some
> extra functions and also allowing for additional entropy to be included.
You ported MT19937, which is a bit different from the SFMT that Tyro ported.
I've got the code (see attachment), but the original main function is missing.
There's also Wang Zhen's port, which provides a Random class:
http://lists.puremagic.com/pipermail/digitalmars-d-announce/2006-April/000816.html
--
E-mail address: matti.niemenmaa+news, domain is iki (DOT) fi
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mt.d
Url: http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20071118/e5dd28d5/attachment-0001.txt
More information about the Digitalmars-d-learn
mailing list