Template Function TRAP::Math::Pow(T, T)#

Function Documentation#

template<typename T>
constexpr T TRAP::Math::Pow(T base, T exponent)#

Retrieve the value of the first parameter raised to the power of the second.

Parameters:
  • base – Pow function is defined for input values of ‘base’ defined in the range (inf-, inf+) in the limit of the type qualifier.

  • exponent – Floating-point value representing the ‘exponent’.

Returns:

‘base’ raised to the power ‘exponent’.