Million digits of Pi

Torbjörn Granlund tg at gmplib.org
Sat Nov 9 11:36:59 UTC 2019


paul zimmermann <Paul.Zimmermann at inria.fr> writes:

  However you will soon hit GMP limitations, which cannot compute with huge
  numbers.

We're getting old and grumpy, aren't we?  :-D

GMP can compute with "huge" numbers.  If using mpn, the only limit is
your RAM.  On 64-bit machines when using mpz, mpf or mpq the limit is
about 40 billion decimal digits.

I don't know about mpfr's limits, but as it was designed much later than
mpf, it might have a better design wrt operand sizes.

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


More information about the gmp-discuss mailing list