OT: random random stuff [Was: Re: default random object?]

BCS none at anon.com
Thu Feb 19 09:09:33 PST 2009


Hello Daniel,

> Slightly off-topic, but I just found this and thought it might be of
> interest.
> 
> http://mjolnirstudios.com/IanBullard/files/79ffbca75a75720f066d491e9ea
> 935a0-10.php
> 
> For reference, here is the ASM source for the mentioned Flipcode
> random number generator:
> 
>> pshufw mm1, mm0, 0x1E
>> paddd mm0, mm1
> Finally, here's a link to the DieHard test on Wikipedia:
> 
> http://en.wikipedia.org/wiki/Diehard_tests
> 
> -- Daniel
> 

someone should make a "double DieHard(uint function())" so we can test the 
quality of rand's.





More information about the Digitalmars-d mailing list