BloombergLP::bdldfp::DecimalImpUtil::fma

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

Synopsis

Declared in <bdldfp_decimalimputil.h>

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

Return Value

x * y + z, rounded as one ternary operation

Parameters

NameDescription
xfirst multiplicand
ysecond multiplicand
zaddend