logoalt Hacker News

degamad • today at 7:25 AM • 1 reply • view on HN

Exactly. There's many a page on random which explains why taking the modulus of rand is the wrong choice, but it's also the easiest one, which makes it all to common.


Replies

binaryturtle • today at 9:58 AM

`man random` has no such disclaimer here on OS X. I guess this refers to a Linux man page?