BloombergLP::bdldfp::operator==

Return true if the specified lhs and rhs have the same value, and false otherwise.

Synopsis

Declared in <bdldfp_uint128.h>

bool
operator==(
    Uint128 const& lhs,
    Uint128 const& rhs);

Description

Two Uint128 objects have the same value if both of their low and high attributes are the same.

Return Value

true if lhs and rhs have the same value, and false otherwise

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand