important change in mpfr

Elias P. TSIGARIDAS et at di.uoa.gr
Tue Apr 4 10:37:24 CEST 2006


Torbjorn Granlund wrote:
> Paul.Zimmermann at loria.fr (Paul Zimmermann) writes:
> 
>   We strongly request the GMP developers to anticipate that decimal change too.
>   This will boost all applications of GMP and MPFR to bank accounting.
>   
> I must say that I think is a very serious mistake.  Decimal
> arithmetic is known to be very inefficient!
> 
> For GMP 5, we will use base-100 arithmetic throughout (except in
> the input an doutput functions that will accept binary numbers).
> Base-100 will be ten times faster than base-10, of course.
> 
Why not base-1000 then? It will be 100 times faster than base 10.

Perhaps base-10^k is the best solution after all.
It will be 10^(k-1) times faster than base-10.

--Elias


More information about the gmp-discuss mailing list