Hello,limit(abs(log(x)), x, 0, '+') should return +oo, but it returns -oo*sign(log(_w)) !!!
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/c1d1e406-ac4d-487e-807a-d0483cc6d7b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/b6cd9121-b2db-4979-8627-b4fcf9f98a99%40googlegroups.com.
Hello.
Maybe, it could be useful to have a abssimplify method that will try to simplify abs expressions.
Christophe BAL
> To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/5feb0587-b775-4922-ba30-6841a41821af%40googlegroups.com.
Maybe abs() function have to be reconsidered, because I found other issues with abs...
limit(abs(ln(x))-ln(x), x, 2) or limit(abs(ln(x))-ln(x), x, 2, '+') return 0 (OK), but limit(abs(ln(x))-ln(x), x, 2, '-') runs endless and I need to interrupt it to stop calculating.. Same way with functions : abs(cos(x))-cos(x) or abs(sin(x))-sin(x) or abs(sqrt(x))-sqrt(x) for x = symbols('x', real=True)
But if I try : limit(abs(ln(x))-ln(x), x, a, '-') with a = symbols('a', real=True), it returns (sign(log(a)) - 1)*log(a). Idem for the direction '+' and without direction.