Faster uniform() in [0.0 - 1.0(

bearophile bearophileHUGS at lycos.com
Fri Nov 19 07:24:00 PST 2010


Some kind of little D programs I write need a lot of random values, and tests have shown me that std.random.uniform is slow.

So I have suggested to add a faster special case to generate a random double in [0.0, 1.0), see:
http://d.puremagic.com/issues/show_bug.cgi?id=5240

Bye,
bearophile


More information about the Digitalmars-d mailing list