Modulus operators

Synopses

Declared in <absl/numeric/int128.h>

Returns the remainder of one duration divided by another.

Returns the remainder of lhs divided by rhs.

constexpr
int128
operator%(
    int128 lhs,
    int128 rhs);

Returns the remainder of lhs divided by rhs.

constexpr
uint128
operator%(
    uint128 lhs,
    uint128 rhs);

Return Value

The remainder lhs % rhs.

Parameters

Name

Description

lhs

The numerator duration.

rhs

The denominator duration.

Created with MrDocs