Search results

There are no results.

std.ops.Modulo

Modulo[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

Gets the remainder after dividing self by the given object.

Implementations

std.float.

Float

impl Modulo[Float, Float] for Float
std.int.

Int

impl Modulo[Int, Int] for Int