Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

Abigail


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2014-12-22 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (112 votes), past polls