in reply to Re^2: is rand random enough to simulate dice rolls?
in thread is rand random enough to simulate dice rolls?

And here are mine test results, all tests done in win10 and various strawberry protable:

And your conclusion is? It looks to me like all those perls are pretty well behaved, including my old ones (see above).

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
  • Comment on Re^3: is rand random enough to simulate dice rolls?

Replies are listed 'Best First'.
Re^4: is rand random enough to simulate dice rolls?
by Discipulus (Canon) on Jan 04, 2021 at 11:50 UTC
    Hello shmem,

    > And your conclusion is? It looks to me like all those perls are pretty well behaved, including my old ones

    Yes it seems so. My conclusion was in Re^2: is rand random enough to simulate dice rolls?: as haukex and other said is unwise to break a test for something related to a core function which might have problems in preistoric installations. A big warning, as above, is more than nothing in case of test failure.

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.