Software for calculating π

Software for calculating π

Over the years, several programs have been written for calculating pi (π) to many digits on personal computers.

General-purpose

Most computer algebra systems can calculate π and other common mathematical constants to any desired precision.

Functions for calculating π are also included in many general libraries for arbitrary-precision arithmetic, for instance MPFR.

pecial-purpose

Programs designed for the specific purpose of calculating π may have better performance than general-purpose mathematical software. They typically implement checkpointing and efficient disk swapping to facilitate extremely long-running and memory-expensive computations.

* PiFast, by Xavier Gourdon was the fastest program for Microsoft Windows in 2003. According to its author, it can compute one million digits in 3.5 seconds on a 2.4 GHz Pentium 4. [ [http://numbers.computation.free.fr/Constants/PiProgram/timings.html PiFast timings ] ] PiFast can also compute other irrational numbers like "e" and √2. It can also work at lesser efficiency with very little memory (down to a few tens of megabytes to compute well over a billion (109) digits). This tool is a popular benchmark in the overclocking community. PiFast 4.4 is available from [http://home.istar.ca/~lyster/pi.html Stu's Pi page] . PiFast 4.3 is available from Gourdon's page.

* QuickPi by Steve Pagliarulo for Windows is faster than PiFast for runs of under 400,000,000 digits. Version 4.5 is available on Stu's Pi Page below. Like PiFast, QuickPi can also compute other irrational numbers like "e", √2, and √3. The software may be obtained from the Pi-Hacks Yahoo! forum, or from [http://home.istar.ca/~lyster/pi.html Stu's Pi page] .

ee also

* Pi
* Computing π
* Super PI

References

External links

* [http://myownlittleworld.com/miscellaneous/computers/pilargetable.html Conclusive comparison of many implementations and algorithms for calculating Pi]
* [http://myownlittleworld.com/miscellaneous/computers/otherpiprograms.html Comparison of different pi programs (part 2 of previous link)]
* [http://home.istar.ca/~lyster/pi.html Stu's Pi page] - List of fastest Pi programs on the planet for the PC
* [http://momonga.t.u-tokyo.ac.jp/~ooura/fft.html An open source FFT]
* [http://momonga.t.u-tokyo.ac.jp/~ooura/pi_fft.html An open source FFT for pi]
* [http://ja0hxv.calico.jp/pai/estart.html Shigeru Kondou's Pi page - in English, digits avail. to 70b]
* [http://groups.yahoo.com/group/pi-hacks/ Pi-Hacks 'Yahoo! Groups' Discussion Forum]
* [http://gmplib.org/pi-with-gmp.html Computing billions of π digits using GMP]
* [http://packages.debian.org/stable/math/pi A fast package for Debian GNU/Linux]
* [http://www.apfloat.org/apfloat_java/applet/pi.html A pi calculation applet]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Software patents under United States patent law — Software or computer programs are not explicitly mentioned in United States patent law. In the face of new technologies, decisions of the United States Supreme Court and United States Court of Appeals for the Federal Circuit (CAFC) have sought to …   Wikipedia

  • Software quality — Contents 1 Motivation for Defining Software Quality 2 Definition 3 Alternative Approaches to Software Quality Defin …   Wikipedia

  • Software tools for molecular microscopy — There are a large number of software tools or software applications that have been specifically developed for the field sometimes referred to as molecular microscopy or cryo electron microscopy or cryoEM. Several special issues of the Journal of… …   Wikipedia

  • Software patents under United Kingdom patent law — There are four over riding requirements for a patent to be granted under United Kingdom patent law. Firstly, there must have been an invention. That invention must be novel, inventive and susceptible of industrial application. (See Patentability) …   Wikipedia

  • Software patents under the European Patent Convention — Computer programs, software and patent law Topics …   Wikipedia

  • Crystal (software) — For other uses, see Crystal (disambiguation). CRYSTAL is a quantum chemistry ab initio program, designed primarily for calculations on crystals (3 dimensions), slabs (2 dimensions) and polymers (1 dimension) using translational symmetry, but it… …   Wikipedia

  • Numbers (software) — Numbers Numbers 2.0, part of iWork 09 Developer(s) Apple …   Wikipedia

  • Dental software — Contents 1 Terminology 2 History 3 Classification 3.1 Dental administration management software …   Wikipedia

  • Principles and Standards for School Mathematics — are guidelines produced by the National Council of Teachers of Mathematics (NCTM) in 2000, setting forth recommendations for mathematics educators.[1] They form a national vision for preschool through twelfth grade mathematics education in the US …   Wikipedia

  • Thermodynamic databases for pure substances — Thermodynamic databases contain information about thermodynamic properties for substances, the most important being enthalpy, entropy, and Gibbs free energy. Numerical values of these thermodynamic properties are collected as tables or are… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”