Pi
From Nanofortnight
This page is the project homepage of the project Pi or the Savannah project pi-calculator. This project was founded by two members of the ChaosNordhausen meeting - Sebastian and Pascal.
There is another project called pi-calculator2 from René (KillerFox) Nussbaumer. It uses the same algorithms like pi-calculator, but was cleanly programmed in C++ with object oriented styles.
Contents |
Project purpose
The main purpose of this project was to calculate Pi with many different algorithms and with a very high value of accuracy.
Another thing I tried, was to write every algorithm in a very short and very clean way. I constructed the functions to return the values directly and don't use other variables to save the results.
Project download
This is a Savannah project, you can visit it via the project main page.
CVS access
for Savannah members:
export CVS_RSH=ssh cvs -z3 -d <membername>@cvs.savannah.nongnu.org:/sources/pi-calculator co pi-calculator
anonymous CVS access:
export CVS_RSH="ssh" cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/pi-calculator co pi-calculator
Rsync access
Savannah also provides anonymous rsync access to get the raw CVS file:
rsync cvs.savannah.gnu.org::sources/pi-calculator/
Project documentation
We have got a very simple doxygen documentation of this project. You can visit it via http://pi.kickino.org/pi-calculator/doc/html/ - if you would like to write a new one feel free to do so.
Project history
Old stages of development
- Pre_1.1: Project with sub-programmes in (C++)
- Pre_1.2: Project with sub-programmes in (C)
- 1.3: Project with different C functions, which print out Pi
Current development
- Print Pi to X decimal places, where X should be >60 ;-)
Copyright and license
This project was started by Sebastian Wieseler with some help of Pascal Fricke.
Copyright (C) Sebastian Wieseler 2005,2006
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
For detailed information about copyright and license have a look at each file of source code.
Contributions
You can join us via the project main page on Savannah or send patches/complaints to the mailing list of the ChaosNordhausen meeting.
References
Some (helpfull) links about this topic:
- Pi to one million decimal places
- Pi to 206 billion decimal places
- Table of current records for the computation of constants
- Search the first four billion binary digits of Pi for a string
- David H. Bailey website describs the BBP algorithm
- Kanada Laboratory home page includes Pi to one trillion digits
- Konkretes Beispiel für den BBP-Algorithmus
- Diskussion und Darstellung verschiedener Methoden, die Kreiszahl Pi zu bestimmen (Facharbeit)
- Einführung in die Berechnung von Pi (Informatik-Jahresarbeit)
Articels in the Wikipedia(s) about Pi:
References in other media
bash.org: A funny story about another Pi project
<k2xl> in 1998, i made a C++ program to calculate pi to a billion digits. <k2xl> i coded it on my laptop (pentium 2 i think) and then ran the program. <k2xl> the next day i got a new laptop but decided to keep the program running. <k2xl> it's been over seven years now since i ran it. and this morning it finished calculating. <k2xl> the output: <k2xl> "THE VALUE OF PI TO THE BILLIONTH DIGIT IS = " <k2xl> mindblowing eh? <k2xl> i looked in the code of my program, and i found out that i forgot to output the value :(.
Related quotations to Pi
- "Dem Rechner gleich, der seine Kräfte sammelt, um einen Kreis zu messen, und’s nicht findet, und auf den Lehrsatz sinnt, der nötig wäre,..." -- Dante Alighieri
- "Die Vernunft, die nicht die Wahrheit ist, verhält sich zur Wahrheit wie das Vieleck zum Kreis; und dies wird nie dem Kreis gleich." -- Cusanus
- "[John Gregory] was a man of courage an foresight but was not conspicuous for outstanding intellectual gifts" -- Herbert Westren Turnbull
- "Ich glaube fest daran, daß das Universum ein wunderbares Konzert von Zahlenkorrespondenzen ist und daß die Lektüre der Zahl und ihre symbolische Deutung ein priviligierter Weg zur Erkenntnis sind" -- Peter Borwein
- "Pis Gesicht war von einer Maske verdeckt, weil, wie jedermann wußte, kein Mensch je den Anblick dieses Gesichts Überleben würde. Aber hinter den Schlitzen der Maske konnte man die Augen erkennen: durchdringend, unerbittlich, kalt und rätselhaft." -- Bertrand Russell
- "[...] die Mathematik [ist] weit mehr als nur Anwendbarkeit und Nutzbarmachung. Sie eröffnet ein Reich der reinen Idee, eine dem Menschen vorgegebene und ihm letztlich nie ganz verfügbare Wirklichkeit. Der Mensch erlebt hier Formen des Unendlichen, die ihn anziehen und herausfordern, die sich aber nie ganz greifen lassen." -- Bertrand Russell