Handling big exponents, what library?

Vincent Lefevre vincent at vinc17.net
Sat Jun 27 17:30:15 UTC 2015


Hi,

On 2015-06-27 18:36:38 +0200, Jürgen Hochwald wrote:
> I'm looking for a lib, that can handle big exponents. I need it for the
> calculation of a fractal deepzoom.
> 
> The problem is, that the extended datatype of the FPU ends at 1.0E4930 (
> or so).  I need to handle 1.0E8000 (for example). The digits of the
> mantissa are enouth.
> 
> 
> My toughts are the following:
> - Because speed is important I'm thinking of some self written stuff
> using record with extended and an integer, where the integer extends the
> exponent range. Thes needs extra checks after each calculation for
> normalisazion.

DPE does this.

MPFR handles big exponents but it would be much slower.

-- 
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