What steps will reproduce the problem?
______________________________________
>>> import math,dmath,decimal
>>> math.exp(decimal.Decimal("-172"))
2.0014701280414429e-75
>>> dmath.exp(decimal.Decimal("-172"))
Decimal("-8.573821946135526241845525610E+43")
>>> dmath.exp(-172)
-218L
What is the expected output? What do you see instead?
______________________________________
maxima (a CAS) says exp(-172) == 2.0014701280414429E-75
What version of the product are you using? On what operating system?
______________________________________
dmath 0.9 on kubuntu with Python 2.4.4c1 (#2, Oct 11 2006, 21:51:02).