Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

(fongsaiyuk)Re: Generating Random Integers

by fongsaiyuk (Pilgrim)
on Jan 03, 2001 at 03:36 UTC ( #49422=note: print w/replies, xml ) Need Help??


in reply to Generating Random Integers

FMTYRWTK, but depending upon your application, you might consider the use of Math::TrulyRandom, available at your local

perl -MCPAN -e "install Math::TrulyRandom"

Random numbers generated by computers are "mostly" random. This module does a good job of making them "really" random. :)

I say "depending upon your application" because you may require more randomness than what is provided by the seed value you are sending srand()... :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://49422]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2018-05-24 11:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?