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

Re: Random numbers Perl ok! (I think)

by Abigail-II (Bishop)
on Oct 12, 2003 at 17:03 UTC ( #298669=note: print w/ replies, xml ) Need Help??

in reply to Random numbers Perl ok! (I think)

You can't draw from your experiment the conclusion that Perl doesn't have a problem with random numbers. Perl does *not* generate random number itself, it will let the OS do that for it. Looking at Configure, Perl will try to use drand48(), random() or rand(), in that order (unless configured manually otherwise).

So, the best you can conclude there's no problem with whatever function Perl is using on your system. It might be different on other platforms


Comment on Re: Random numbers Perl ok! (I think)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2015-11-25 16:25 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (682 votes), past polls