BloombergLP::bdldfp::DecimalUtil::fma

Same as the related overload above for fma.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
Decimal64
fma(
    Decimal64 x,
    Decimal64 y,
    Decimal64 z);

Return Value

x * y + z as a single rounded ternary operation

Parameters

NameDescription
xfirst multiplicand
ysecond multiplicand
zaddend