Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: rand() function on Windows systems (pure Perl)

by bakiperl (Beadle)
on Dec 31, 2016 at 02:59 UTC ( [id://1178713]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    return ( ( $seed >> 16 ) & 32767 ) / 32767 * $max;
    
  2. or download this
    return ( ( $seed >> 16 ) & 32767 ) / 32768 * $max;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2024-04-23 17:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found