Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Fastest way to calculate hypergeometric distribution probabilities (i.e. BIG factorials)?

by BrowserUk (Pope)
on Jun 14, 2005 at 01:05 UTC ( #466334=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    [ 1:32:28.64] P:\test>perl -MMath::Pari=factorial -wle"print factorial
    +( 19937 )"
    2.174930234150431374566653166E77066
    
    [ 1:32:30.58] P:\test>
    
  2. or download this
    [ 1:35:13.75] P:\test>perl -MMath::BigInt -wle"$n=Math::BigInt->new( 1
    +9937 ); print $n->bfac;"
    2174930234150431374566653562545349453159548764005915598228287343243610
    ...
    0000000000000000000000000000000000000000000000000000000000000000000
    
    [ 1:37:02.13] P:\test>
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2020-01-21 17:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?