David A. Black wrote:

> I'm by no means a random number expert/theorist, but the above is a
> very common idiom. I don't really know how it holds up under full
> scrutiny. There's probably some discussion of that in the archives.
> 

even if rand would generate 2 times the same number that would not be a
problem...