Million digits of Pi

Tsz Wo Sze szetszwo at yahoo.com
Fri Nov 8 19:26:49 UTC 2019


 You caught me -- it should be e^(i pi) + 1.
Tsz-Wo    On Friday, November 8, 2019, 11:11:24 AM PST, Tsz Wo Sze <szetszwo at yahoo.com> wrote:  
 
  
This is really a good question which deserves a good answer.  But sorry I don't have one yet.
The current pi computation record is 10 trillion digits.  Therefore, checking millions of digits sounds "easy".  However, what is the best way?  How can you be sure?
I am tempted to say -- try using your pi to compute e^(i pi) - 1 and see if you get millions of zeros.  :)
Tsz-Wo    On Friday, November 8, 2019, 02:37:42 AM PST, Dr. Ing. Carlos López-Vázquez <carloslopez at uni.ort.edu.uy> wrote:  
 
 One alternative is to look for exact formulas to compute individual hex 
digits of pi by David Bailey, Peter Borwein and Simon Plouffe.

On 8/11/19 02:36, Andy wrote:
> Where can I find source code of fast formula computing Pi using GMP?
> How to ensure that all digits are correct?
> I found million digits in Gutenberg project and million digit file from
> angio.net. Gutenberg has 20% more than million, because it end on
> ...5779458151
> _______________________________________________
> gmp-discuss mailing list
> gmp-discuss at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-discuss
_______________________________________________
gmp-discuss mailing list
gmp-discuss at gmplib.org
https://gmplib.org/mailman/listinfo/gmp-discuss
    


More information about the gmp-discuss mailing list