Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3060 by [email protected]: use of evalf() needs review
http://code.google.com/p/sympy/issues/detail?id=3060
In numbers, there are many cases where evalf() is being used only to test
if something reduces to a Number. It seems that these instances could be
changed to evalf(1) to speed them up.
Also, evalf() is being used to compute a value that is used in an
expression without testing to see what precision is needed. I don't recall
at the moment whether this will truncate any existing high-precision Floats
in the expression to 15-digits:
pi + Float('.1',22)
0.1 + pi
_.n()
3.24159265358979
Perhaps if the precision is None then the needed precision could be
autodetected rather than defaulting to 15.
--
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.