Comment #129 on issue 1694 by asmeurer: solve has many issues with fractions
http://code.google.com/p/sympy/issues/detail?id=1694

The only thing I can think of is that log(a**(1/b)) == log(a)/b. But I might even consider that to be kind of obscure. So definitely +1 on removing that .as_numer_denom() from log.

Maybe this goes back to issue 1694, but I think as_numer_denom() should only handle expressions as top-level rational functions, so that it returns the numerator and denominator as cheaply as possible. Other functions, like fraction() can try to be more clever. I use .as_numer_denom() a lot in the Risch algorithm functions, and I only want it to do things like convert (1/x + 1)/x + 1/x into (1 + 2*x)/x**2, and it needs to be cheap, because I use it a lot.

--
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.

Reply via email to