BloombergLP::bdldfp::DecimalImpUtil_IntelDfp::add

add overloads

Synopses

Declared in <bdldfp_decimalimputil_inteldfp.h>

Return the IEEE-754 sum of two decimal values.

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

Return the IEEE-754 sum of two decimal values.

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

Return the IEEE-754 sum of two decimal values.

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

Return Value

sum of lhs and rhs

Parameters

NameDescription
lhsleft-hand decimal operand
rhsright-hand decimal operand