absl::operator%

Modulus operators

Synopses

Declared in <absl/numeric/int128.h>

Returns the remainder of one duration divided by another.

Duration
operator%(
    Duration lhs,
    Duration rhs);
» more...

Returns the remainder of lhs divided by rhs.

constexpr
int128
operator%(
    int128 lhs,
    int128 rhs);
» more...

Returns the remainder of lhs divided by rhs.

constexpr
uint128
operator%(
    uint128 lhs,
    uint128 rhs);
» more...

Return Value

The remainder lhs % rhs.

Parameters

NameDescription
lhsThe numerator duration.
rhsThe denominator duration.