A comparison of the implemented algorithms to compute pi:
opcount-64k.txt (precision = 64k digits)
opcount-4M.txt (precision = 4M digits)
It is interesting that the AGM-algorithm
(with Schönhage's optimisations both of the sqrt and the AGM)
needs less than half of the multiplications than
(both variants of) Borwein's 4th order algorithm.
Log about the computation of 9**(9**9), done 22-November-1999 on an AMD K6/2 366Mhz: run1-pow999.txt. The computation took almost 8 hours as out of core FFTs had to be used. Note added 2010-October-25: log of a computation that took only 81 seconds run-pow999-ram.txt.
A text about the computation of pi:
arith.dvi.gz
(same as postscript: arith.ps.gz)
Some ideas used in hfloat are described in the slides of my talk "How to compute Pi to 10^12: A crash course in high precision arithmetics" given October-2003 in Bonn, Germany (gzip compressed): dvi (35kB), ps (170kB), or pdf (200kB). An updated version, given in Canberra, Australia (in two parts, April and May 2007) is here: dvi (36kB), ps (184kB), or pdf (204kB).
Don't miss the part on arithmetical algorithms of the fxtbook.
CLN
(by Bruno Haible, who also has a homepage),
includes GMP
This is probably the fastest and most complete bignum library available.
GiNaC ... is Not a CAS (Computer Algebra System), a very exciting software project by Christian Bauer, Alexander Frink and Richard Kreckel.
GMP
(by Torbjörn Granlund)
High-Precision Software Directory by D. H. Bailey.
pari/gp
My favorite for doing number theoretic tasks.
Sage Open Source Computer Algebra System. Highly recommended.
Maxima Open Source Computer Algebra System.
Axiom Open Source Computer Algebra System.
NTL (by Victor Shoup) A Library for doing Number Theory
A long list of number theoretic packages by Keith Matthews.
hexadecimal digits of pi,
the first 65536 hexadecimal digits:
pihex64k.gz