1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
/// Power functions
///
///<a href="https://en.wikipedia.org/wiki/Exponentiation#Power_functions">https://en.wikipedia.org/wiki/Exponentiation#Power_functions</a>
pub trait Power
{
    fn pow(self: Self, exp: Self) -> Self;

    fn root(self: Self, root: Self) -> Self;

    fn sqrt(self: Self) -> Self;
}