ok, I am needing to calculate powers in C++ (ie, 10^6, 10^9, 10^101, etc)
the pow function uses double, and after 10^5, returns a number like (8e3245) ... but i need it for larger powers ...
now, is there a function I can do that will break it down somehow? my teacher said you can, and showed us an example, but the example was modpow (breaking down large numbers to be modded)
ive searched net, cant seem to find an asnwer
i have to do a program to do Markoff's Equation, and the limit is a large number .... i can do the markoff's equation already, just cant figure out a bound (ive bounded it in a lower number, but assignment requires a larger number that I cant do)
so any help on calculating the large power would be great ...