Epoch time + msecs

Marc Schütz via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Nov 16 02:47:33 PST 2015


On Monday, 16 November 2015 at 10:29:25 UTC, Kagamin wrote:
> On Saturday, 14 November 2015 at 12:14:42 UTC, Handyman wrote:
>> Of course.  That's why I mentioned my purpose of using 
>> Clock.currTime(), in the hope I got corrected in using the 
>> right and offical seed method which I failed to find, which 
>> brings me to another point.
>
> Don't docs provide examples on how use (and seed) a generator? 
> http://dlang.org/phobos/std_random.html#.Mt19937

Hmmm... why is `unpredictableSeed` only a `uint`? Surely most 
PRNGs have more than 32 bits of internal state?


More information about the Digitalmars-d-learn mailing list