1st draft of complete class-based std.random successor

monarch_dodra monarchdodra at gmail.com
Thu Mar 20 12:38:52 PDT 2014


On Thursday, 20 March 2014 at 19:04:01 UTC, Andrea Fontana wrote:
> Still no cmwc rng... IMO cmwc should replace mt as default RNG. 
> Faster. Looooonger period. More passed tests (if i'm right MT 
> didn't pass testu01). And it is parametric to get faster result 
> or longer period.
>
> http://en.wikipedia.org/wiki/Multiply-with-carry#Complementary-multiply-with-carry_generators

Would a Lagged Fibonacci generator instead fit your needs? I 
wrote one, but it was held of until `random` was updated.

It's goal, first, is to replace the old module. It'll add new 
stuff once it has achieved that goal.


More information about the Digitalmars-d-announce mailing list