2 ms·
Yes, you must match your RNG values to an integer multiple of your alphabet size, or there will be bias on modulo. Filter, smear bits, etc. More explanation he
by jeremyw 4y ago
Yes, you must match your RNG values to an integer multiple of your alphabet size, or there will be bias on modulo. Filter, smear bits, etc.
More explanation here: https://stackoverflow.com/questions/10984974/why-do-people-say-there-is-modulo-bias-when-using-a-random-number-generator https://stackoverflow.com/questions/10984974/why-do-people-s...