Updates:
Summary: Fix evalf documentation
Cc: [email protected]
Labels: -smichr -NeedsReview Documentation EasyToFix
Comment #3 on issue 2842 by [email protected]: Fix evalf documentation
http://code.google.com/p/sympy/issues/detail?id=2842
That pull request was merged, but we should also fix that documentation
issue as well. With the pull request merged, we now get:
In [58]: (S(1)/(Symbol('n')+1)).evalf()
Out[58]:
1
───────
n + 1.0
evalf() *doesn't* return the original expression unchanged. It returns it
with the numerical parts evalf'd.
The use of 1.0 vs. 1 seems to be inconsistant by the way. Shouldn't that
give 1.0/(n + 1.0)?
--
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.