The stupid question is the question not asked | |
PerlMonks |
Re^2: Efficiently working with huge exponentsby wanna_code_perl (Friar) |
on Mar 20, 2015 at 12:22 UTC ( [id://1120738]=note: print w/replies, xml ) | Need Help?? |
I thought of this as well, but I still need to be able to perform other arithmetic operations on the result, such as addition, multiplication, and even further exponentiation. Plus if I do $n->blog(10) to get the base-10 exponent, I still have to wait out the 3-minute calculation of $n in the first place, or maybe there's some clever math that I learned too many decades ago that would help. :-)
In Section
Seekers of Perl Wisdom
|
|