BloombergLP::bdldfp::DecimalImpUtil::fma

Return x * y + z, rounded as one ternary operation.

Synopses

Declared in <bdldfp_decimalimputil.h>

Return x * y + z, rounded as one ternary operation.

static
DecimalImpUtil::ValueType128
fma(
    ValueType128 x,
    ValueType128 y,
    ValueType128 z);
» more...

Return x * y + z, rounded as one ternary operation.

static
DecimalImpUtil::ValueType32
fma(
    ValueType32 x,
    ValueType32 y,
    ValueType32 z);
» more...

Return x * y + z, rounded as one ternary operation.

static
DecimalImpUtil::ValueType64
fma(
    ValueType64 x,
    ValueType64 y,
    ValueType64 z);
» more...

Return Value

x * y + z, rounded as one ternary operation

Parameters

NameDescription
xfirst multiplicand
ysecond multiplicand
zaddend