The built-in Math.Pow() function in .NET raises a double base to a double exponent and returns a double result.
Math.Pow()
double
W
Use double version, check for overflow (over max int or max long) and cast to int or long?