T
 the type of the elements that can be handled by the math class.public interface Math<T>
The general idea is to mimic the methods of Math
.
Ideas might also be taken from apache.commons.math and the FastMath class existing there.
Modifier and Type  Method and Description 

T 
pow(T base,
T exponent)
Has to return the first argument raised to the power of the second argument.

T 
root(T base,
T exponent) 
T pow(T base, T exponent)
base
 the number which should be raised to the power.exponent
 the exponent which shall be applied to the base.