fractions.Decimal.fma

Decimal.fma(other, third, context=None)[source]

Fused multiply-add.

Returns self*other+third with no rounding of the intermediate product self*other.

self and other are multiplied together, with no rounding of the result. The third operand is then added to the result, and a single final rounding is performed.