Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Random numbers are not random enough on Windows

by almut (Canon)
on Oct 28, 2009 at 10:43 UTC ( #803642=note: print w/ replies, xml ) Need Help??


in reply to Re: Random numbers are not random enough on Windows
in thread Random numbers are not random enough on Windows

$ perl -V:randbits

On my Ubuntu box this prints randbits='48';  On your build of Perl I suspect it's 15.

(This value is figured out at build-time and is supposed to represent how many bits the respective PRNG C library function actually provides.)


Comment on Re^2: Random numbers are not random enough on Windows
Select or Download Code
Replies are listed 'Best First'.
Re^3: Random numbers are not random enough on Windows
by ikegami (Pope) on Oct 28, 2009 at 15:26 UTC
    ActiveState Windows build:
    >perl -V:randbits randbits='15';

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2015-07-29 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls