Search results

There are no results.

std.ops.Power

Power[T, R]

The binary ** operator.

Required methods

**

Show source code
Hide source code
fn pub **(other: ref T) -> R
fn pub **(other: ref T) -> R

Raises self to the power of the given exponent.

Implementations

std.float.

Float

impl Power[Int, Float] for Float
std.int.

Int

impl Power[Int, Int] for Int