I have a number (num1) which is 18 digits long. I am storing it in an integer array. I have another number (num2) which is also 18 digits long. This is also being stored in an integer array.
I have to find the log of the first number to the base of the second number (log num1 to base num2).
How to do this in C++? I can't use the log function as the numbers are being stored in arrays.