Issue 1187: error in (exp(10**(-10)) - 1).evalf(50)
http://code.google.com/p/sympy/issues/detail?id=1187

New issue report by [EMAIL PROTECTED]:
The following result is wrong:

Python 2.4.4 console for SymPy 0.6.2

These commands were executed:
>>> from __future__ import division
>>> from sympy import *
>>> x, y, z = symbols('xyz')
>>> k, m, n = symbols('kmn', integer=True)
>>> f, g, h = map(Function, 'fgh')

Documentation can be found at http://sympy.org/

In [1]: (exp(10**(-10))-1).evalf(50)
Out[1]: 0.00000000010000000000500000364338639858076696442308164431317

The correct result would be

         0.00000000010000000000500000000016666666667083333333341666667

as is easily verified from the series expansion

     \sum_{k=1}^\infty 10^{-10 k}/k!



Issue attributes:
        Status: New
        Owner: ----
        Labels: Type-Defect Priority-Medium

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to