PDA

View Full Version : SuperPi Algorithm?



angra
10-25-2006, 11:18 AM
I am interested in implementing something as close as possible to SuperPi on some non x86 processors that I work with as one of a suite of speed comparisons. I did a search through the archives and google for source code, or even a description of the algorithm that they use, but I did not have any success. Does anyone happen to know of a) source code, or b) a description or even just the name of the pi calculation algorithm that SuperPi uses?

bachus_anonym
10-25-2006, 11:27 AM
Algorithm is Gauss-Legendre (http://en.wikipedia.org/wiki/Gauss-Legendre_algorithm) and Super Pi source code has not been made public.

angra
10-25-2006, 11:41 AM
Thanks that is a big help to start. followup questions for anyone. I know some people have manually tweaked the object code so maybe they know:

does superpi do a fixed (pre-known) number if iterations for each set-size, or do they do the convergence check described in the algorithm?

Also, is anything known about the approach superpi uses for arbitrary precision arithmetic?

Thanks again...