- #1
omri3012
- 62
- 0
Hallo,
I'm looking for a Random function in c++. i tried to use in the function rand()% but
it does not generate a truly uniformly distributed random number in the span (since my span is large. 100000*100000). in other word it dosent generate a random number in equal probabilty in lage dimentions.
if you know a function or a way that i could generate random number in large span it would
be very helpful.
Thanks,
Omri
I'm looking for a Random function in c++. i tried to use in the function rand()% but
it does not generate a truly uniformly distributed random number in the span (since my span is large. 100000*100000). in other word it dosent generate a random number in equal probabilty in lage dimentions.
if you know a function or a way that i could generate random number in large span it would
be very helpful.
Thanks,
Omri