PyDocs

Nav

Numeric and Mathematical Modules

Decimal.fma

decimal

method of Decimal
  • Decimal.fma(other, third, context=None)
Fused multiply-add.

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

    >>> Decimal(2).fma(3, 5)
    Decimal('11')
1 Example
>>> Decimal(2).fma(3, 5)
Decimal('11')
from the Python docs
See Also
No see-alsos for decimal/Decimal.fma
0 Notes
No notes for Decimal.fma