Pow

From King Arthur's Gold Wiki
Revision as of 22:23, 6 September 2012 by Shadlington (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns base raised to the power exponent.


This method is part of the Maths namespace so you need to prefix calls to it with 'Maths::'.

This method has 3 variants, for different argument types.

float Maths::Pow(float base, float exponent)
double Maths::Pow(double base, double exponent)
float Maths::Pow(float base, int exponent)