generating random numbers

Andy Balba pwplus7 at gmail.com
Mon Aug 10 05:51:07 UTC 2020


generating random numbers using 
https://dlang.org/library/std/random/uniform01.html

I find the example given in this section totally incomprehensible
.. Can any help me answer two simple questions:
How to generate a random floating number in range [0,1) ?
How to set a seed value, prior to generating random values ?


More information about the Digitalmars-d-learn mailing list