Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 pondering the Monastery: (2)
As of 2018-08-16 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (166 votes). Check out past polls.

    Notices?