Why isn't there Math.Pow that takes an int as the exponent?

Viewed 2785

I read that the Math.Pow implementation is pretty complicated to be able to handle fractional powers. Why isn't there a version that takes an int for the exponent to make a faster version when you don't need fractional powers?

4 Answers
Related