Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: rand() precision low, looking for a fast way to get high precision rand float?

by BrowserUk (Pope)
on Oct 31, 2012 at 17:15 UTC ( #1001714=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! perl -slw
    use strict;
    ...
    __END__
    C:\test>1001701.pl
    This time: 0/40000; Accumulate ratio: 0.995570 / 40000
    
  2. or download this
    use List::Util qw[ shuffle ];
    
    ...
        }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (12)
As of 2014-10-30 16:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls