std.ops.Power
Power[T, R]
The binary **
operator.
Required methods
**
Show source codeHide source code
fn pub **(other: ref T) -> R
fn pub **(other: ref T) -> R
Raises self
to the power of the given exponent.
Implementations
Float
impl Power[Int, Float] for Float
Int
impl Power[Int, Int] for Int