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.
`man random` has no such disclaimer here on OS X. I guess this refers to a Linux man page?
`man random` has no such disclaimer here on OS X. I guess this refers to a Linux man page?