Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: inclusive rand

by marioroy (Prior)
on Mar 13, 2017 at 13:11 UTC ( [id://1184416]=note: print w/replies, xml ) Need Help??


in reply to Re^2: inclusive rand
in thread inclusive rand

Math::Random::Secure's irand function supports integer between x and y inclusive. Ah yes, that will not work for 0 and 1.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-18 09:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found