Million digits of Pi

Vincent Lefevre vincent at vinc17.net
Sun Nov 10 19:50:08 UTC 2019


On 2019-11-10 10:32:52 +0100, Torbjorn Granlund wrote:
> Vincent Lefevre <vincent at vinc17.net> writes:
> 
>   On 64-bit machines, MPFR will reach GMP's limit first. MPFR uses
> 
> s;GMP;mpz_t;
> 
>   64-bit types on such machines, while GMP uses a 32-bit type for
> 
> s;GMP;mpz_t;
> 
>   some size. Now, not all MPFR functions use mpz, so that for basic
>   functions, the practical limit will be the memory of the machine.

Perhaps MPFR should drop mpz in favor of a new implementation, which
could also be more efficient concerning the memory allocation.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


More information about the gmp-discuss mailing list