Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2019-08-21 00:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?