BloombergLP::bdldfp::DecimalImpUtil::add

Return the sum of lhs and rhs.

Synopses

Declared in <bdldfp_decimalimputil.h>

Return the sum of lhs and rhs.

static
DecimalImpUtil::ValueType128
add(
    ValueType128 lhs,
    ValueType128 rhs);
» more...

Return the sum of lhs and rhs.

static
DecimalImpUtil::ValueType32
add(
    ValueType32 lhs,
    ValueType32 rhs);
» more...

Return the sum of lhs and rhs.

static
DecimalImpUtil::ValueType64
add(
    ValueType64 lhs,
    ValueType64 rhs);
» more...

Return Value

the sum of lhs and rhs

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand