PyDocs

Nav

Numeric and Mathematical Modules

Decimal.exp

decimal

method of Decimal
  • Decimal.exp(context=None)
Return the value of the (natural) exponential function e**x.

The function always uses the ROUND_HALF_EVEN mode and the result is
correctly rounded.
1 Example
>>> Decimal(1).exp()
Decimal('2.718281828459045235360287471')
>>> Decimal(321).exp()
Decimal('2.561702493119680037517373933E+139')
from the Python docs
See Also
No see-alsos for decimal/Decimal.exp
0 Notes
No notes for Decimal.exp