Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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 cooling their heels in the Monastery: (6)
As of 2015-11-29 17:38 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 (751 votes), past polls