I'm deep in debate with a collegue of mine as to how computers work out powers. i.e what is the working behind the Math.Pow() function?

I seem to remember from school there being a method involving natural logarithms. Is this correct? And what is the working?

Thanks

Stefano