in reply to Efficiently working with huge exponents

This might be of interest:

Theory:

Re^6: Decimal Floating Point (DFP) and does Perl needs DFP?

and

Proof of concept:

Re^3: Decimal Floating Point (DFP) and does Perl needs DFP? (50 digits precision)

You can minimize the number of operations to twice the number of bits the exponent has, by applying exponention laws.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)

PS: Je suis Charlie!

  • Comment on Re: Efficiently working with huge exponents