absl::operator/

Division operators

Synopses

Declared in <absl/numeric/int128.h>

Returns the integer quotient of one duration divided by another.

int64_t
operator/(
    Duration lhs,
    Duration rhs);
» more...

Returns the quotient of lhs divided by rhs.

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

Returns the quotient of lhs divided by rhs.

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

Returns the quotient of a duration divided by a scalar.

template<typename T>
Duration
operator/(
    Duration lhs,
    T rhs);
» more...

Return Value

  • The truncated integer quotient lhs / rhs.
  • The quotient lhs / rhs.

Parameters

NameDescription
lhsThe numerator duration.
rhsThe denominator duration.