Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Random numbers are not random enough on Windows

by markuhs (Scribe)
on Oct 28, 2009 at 10:19 UTC ( #803634=note: print w/ replies, xml ) Need Help??


in reply to Random numbers are not random enough on Windows

Same value for me on ActiveState 5.10.0 build 1005...

32768 -> 16 bit ???


Comment on Re: Random numbers are not random enough on Windows
Re^2: Random numbers are not random enough on Windows
by almut (Canon) on Oct 28, 2009 at 10:43 UTC
    $ 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.)

      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://803634]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-07-31 23:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (255 votes), past polls