Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: is rand random enough to simulate dice rolls?

by shmem (Chancellor)
on Jan 04, 2021 at 08:55 UTC ( #11126264=note: print w/replies, xml ) Need Help??


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 (Abbot) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11126264]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2021-02-28 04:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?