RealPi provides some of the best and most interesting Pi calculation algorithms out there. This app is a benchmark which tests your Android device's CPU and memory performance. It calculates the value of Pi to many decimal places. There are no hard limits on the number of digits, if you experience a freeze please see "Warnings" below. On multi-core processors RealPi tests the performance of a single core.
You can search for patterns in the resulting digits to find your birthday in Pi or find famous digit sequences like the "Feynman Point" (six 9's in a row at the 762nd digit position).
Leave comments with your Pi calculation time on the AGM+FFT formula for 1 million digits. Also the most digits you can calculate, which tests your phone's memory. My fairly fast Huawei Ascend P1 takes 25 sec for 1 million and can do at most 33 million digits. Note that the AGM+FFT algorithm works in powers of 2, so calculating 10 million digits takes just as much time and memory as 16 million digits (the internal precision is shown in the output). For accurate benchmark timing ensure that no other applications are running.
You can also run RealPi Benchmark on a Windows or Linux PC using virtualization, see http://georgielabs.cjb.net/RealPi-x86.html
Here's a summary of the available algorithms:
-AGM + FFT formula (Arithmetic Geometric Mean): This is one of the fastest available methods to calculate Pi, and is the default formula used by RealPi when you press "Start". It runs as native C++ code and is based on Takuya Ooura's pi_fftc6 program. For many millions of digits it can require a lot of memory, which often becomes the limiting factor in how many digits you can calculate.
-Machin's formula: This formula was discovered by John Machin in 1706. It's not nearly as fast as AGM + FFT, but shows you all the digits of Pi accumulating in real time as the calculation proceeds. Choose this formula in the settings menu and then press "Start". It's written in Java using the BigDecimal class. You should probably not ask it to compute much more than 10000 digits.
-Nth digit of Pi formula by Gourdon: This formula shows that it's possible, surprisingly, to calculate decimal digits of Pi "in the middle" without calculating the preceding digits. When you press the "Nth Digit" button RealPi determines 9 digits of Pi ending with the digit position you specify. It runs as native C++ code and is based on Xavier Gourdon's pidec program. Although it's faster than Machin's formula it can't beat the AGM + FFT formula in speed, however it takes almost no memory.
-Nth digit of Pi formula by Bellard: Gourdon's algorithm for the Nth digit of Pi can't be used for the first 50 digits, so this formula by Fabrice Bellard is used instead when the requested digit position is small.
Search function:
Use this to find patterns in Pi like your birthday. For best results calculate at least one million digits using the AGM + FFT formula, then select the "Search for Patterns" menu option.
Permissions:
If you enable the "Calculate when in sleep" option RealPi will keep calculating while your screen is off, useful when calculating many digits of Pi. While not calculating or after the calculation finishes your device will go into deep sleep as usual.
Warnings:
This app can drain your battery quickly while calculating, especially if the "Calculate when in sleep" option is on. You might want to connect your charger.
Calculation speed depends on your device's CPU speed, memory, and whether it has hardware floating point support. At very large numbers of digits RealPi may terminate unexpectedly or not produce an answer. It could also take a very long time to run (years). This is due to the large amount of memory and CPU time needed. The upper limit on the number of digits you can calculate depends on your mobile device.
Changes to the "Calculate when in sleep" option take effect for the next Pi calculation, not in the middle of a calculation, so set it before you start.
Tags: realpi, realpi apk, realpi benchmark, pi benchmark java, realpi.apk download, realpi benchmark apk, benchmark tool processor and memory real time freeware, gourdon algorithm for pi, nth digit of pi java, real pi result on android.
You can search for patterns in the resulting digits to find your birthday in Pi or find famous digit sequences like the "Feynman Point" (six 9's in a row at the 762nd digit position).
Leave comments with your Pi calculation time on the AGM+FFT formula for 1 million digits. Also the most digits you can calculate, which tests your phone's memory. My fairly fast Huawei Ascend P1 takes 25 sec for 1 million and can do at most 33 million digits. Note that the AGM+FFT algorithm works in powers of 2, so calculating 10 million digits takes just as much time and memory as 16 million digits (the internal precision is shown in the output). For accurate benchmark timing ensure that no other applications are running.
You can also run RealPi Benchmark on a Windows or Linux PC using virtualization, see http://georgielabs.cjb.net/RealPi-x86.html
Here's a summary of the available algorithms:
-AGM + FFT formula (Arithmetic Geometric Mean): This is one of the fastest available methods to calculate Pi, and is the default formula used by RealPi when you press "Start". It runs as native C++ code and is based on Takuya Ooura's pi_fftc6 program. For many millions of digits it can require a lot of memory, which often becomes the limiting factor in how many digits you can calculate.
-Machin's formula: This formula was discovered by John Machin in 1706. It's not nearly as fast as AGM + FFT, but shows you all the digits of Pi accumulating in real time as the calculation proceeds. Choose this formula in the settings menu and then press "Start". It's written in Java using the BigDecimal class. You should probably not ask it to compute much more than 10000 digits.
-Nth digit of Pi formula by Gourdon: This formula shows that it's possible, surprisingly, to calculate decimal digits of Pi "in the middle" without calculating the preceding digits. When you press the "Nth Digit" button RealPi determines 9 digits of Pi ending with the digit position you specify. It runs as native C++ code and is based on Xavier Gourdon's pidec program. Although it's faster than Machin's formula it can't beat the AGM + FFT formula in speed, however it takes almost no memory.
-Nth digit of Pi formula by Bellard: Gourdon's algorithm for the Nth digit of Pi can't be used for the first 50 digits, so this formula by Fabrice Bellard is used instead when the requested digit position is small.
Search function:
Use this to find patterns in Pi like your birthday. For best results calculate at least one million digits using the AGM + FFT formula, then select the "Search for Patterns" menu option.
Permissions:
If you enable the "Calculate when in sleep" option RealPi will keep calculating while your screen is off, useful when calculating many digits of Pi. While not calculating or after the calculation finishes your device will go into deep sleep as usual.
Warnings:
This app can drain your battery quickly while calculating, especially if the "Calculate when in sleep" option is on. You might want to connect your charger.
Calculation speed depends on your device's CPU speed, memory, and whether it has hardware floating point support. At very large numbers of digits RealPi may terminate unexpectedly or not produce an answer. It could also take a very long time to run (years). This is due to the large amount of memory and CPU time needed. The upper limit on the number of digits you can calculate depends on your mobile device.
Changes to the "Calculate when in sleep" option take effect for the next Pi calculation, not in the middle of a calculation, so set it before you start.
Tags: realpi, realpi apk, realpi benchmark, pi benchmark java, realpi.apk download, realpi benchmark apk, benchmark tool processor and memory real time freeware, gourdon algorithm for pi, nth digit of pi java, real pi result on android.
Recently changed in this version:
Pi music may be coming one day in a future version of this app! Pi fanatics check out this song composed by Michael Blake based on Tau (2Pi) www.youtube.com/watch?v=3174T-3-59Q




Comments and ratings for RealPi Benchmark
(74 stars)
by evan mccaulley on 13/05/2013
10,000,000 digits in 551.02s
(74 stars)
by Alex Restifo on 09/04/2013
17.24 seconds to 1 million digits. Quad core CPU with 2gb ram
(74 stars)
by Toprak OKUMUŞ on 26/02/2013
22,69 sec for 1M digits..Stock 4.0.4 ICS rom and kernel with root. Seems like it can use both cores and also some GPU accerelation :s otherwise this result could be anormal :) Hmm ran again and got 22,62 sec for again 1M digits..So yeah the app seems like
(74 stars)
by liam grau on 24/02/2013
1.2Ghz Core 2 Duo S9300. 6.2 seconds in 1,000,000 pi digit search. looks like ARM SoCs have a way to go yet...
(74 stars)
by vincent gregorio on 23/02/2013
26.80 seconds for 1m onmy mtk6577 device
(74 stars)
by Andrey Churanov on 04/02/2013
12 minutes for 1 000 000 digits. It makes me feel bad.
(74 stars)
by safuenzo ichiro on 31/01/2013
1440 minutes to 1M iphone 5