Updates:
Labels: -NeedsReview PassedReview
Comment #6 on issue 1827 by asmeurer: log eval gives more standard form
http://code.google.com/p/sympy/issues/detail?id=1827
This seems similar to factoring integers so that we can simplify sqrt(75)
--> 5*sqrt(3). But the power eval
code has a fail safe that it won't attempt to factor large integers.
Something like that should be added here.
Who's to stop someone from typing something crazy like
log(3758743295473825947389257438957432890574389205744372819437281947382914738921473892
1748392714839271498321), which hangs in Chris's branch.
Also, there is logcombine, which is perfectly capable of handling more
complex things like ln(10)-ln(2)-ln(5),
which I should note that Maple does not autosimplify:
In [6]: logcombine(ln(10)-ln(2)-ln(5))
Out[6]: 0
ln(10)-ln(2)-ln(5);
ln(10) - ln(2) - ln(5)
So I think we should at least leave that one alone in eval.
--
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 sympy-iss...@googlegroups.com.
To unsubscribe from this group, send email to
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.