Hi Roberto
Naive question, but doesn't math.pow() implements some fast exponentiation scheme (for integer exponents) that would be somewhat annoying to recode manually? Similar question for the exponentiation by non-integer exponents: I'd assume that math.pow() has some smarter way than exp(a log(x)). Or am I missing something obvious when you say it would be trivially done without the library?
All the best,