in reply to is rand random enough to simulate dice rolls?

> Should I repeat the check 100 times to have an average of averages?

Not an "average" of averages, this would just be like one test for 100*N with N=10000.

You could rather repeat the test 100 times for N tries and require that it never fails. (that's a much stronger condition)

Again: N should be chosen to reflect a necessary condition for the correctness of your app.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re: is rand random enough to simulate dice rolls?