Quantcast
Channel: Why do people say there is modulo bias when using a random number generator? - Stack Overflow
Viewing all articles
Browse latest Browse all 11

Why do people say there is modulo bias when using a random number generator?

$
0
0

I have seen this question asked a lot but never seen a true concrete answer to it. So I am going to post one here which will hopefully help people understand why exactly there is "modulo bias" when using a random number generator, like rand() in C++.


Viewing all articles
Browse latest Browse all 11

Latest Images

Trending Articles





Latest Images