srand time error uint/long

rikki cattermole rikki at cattermole.co.nz
Mon Apr 29 14:39:29 UTC 2019


float f = uniform01();

Its already initialized on module load.

If you do want to custom seed it, you'll probably want to cast the seed 
to uint instead and have your own instance of the random number generator.


More information about the Digitalmars-d-learn mailing list