Million digits of Pi

Torbjörn Granlund tg at gmplib.org
Fri Nov 8 08:52:25 UTC 2019


Andy <borucki.andrzej at gmail.com> writes:

  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

https://lmgtfy.com/?q=gmp+computing+pi&s=g

:-)

Ensuring correctness is harder.  Using two different programs+algorithms
will help even if the same GMP library is used in the background.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-discuss mailing list