in reply to What is the limit of random number that can be selected

As others have said, how big of a random number Perl can generate natively depends on how many RANDBITS you compiled with. But you should be able to multiply several random numbers together, up to the biggest integer size your system supports.
  • Comment on Re: What is the limit of random number that can be selected

Replies are listed 'Best First'.
Re: Re: What is the limit of random number that can be selected
by Sameet (Beadle) on Apr 24, 2004 at 15:48 UTC
    Great,but how do i find out with how many RANDBITS was Perl compiled on my computer.
      use Config; print $Config{randbits};

      Examine what is said, not who speaks.
      "Efficiency is intelligent laziness." -David Dunham
      "Think for yourself!" - Abigail