> For example, complex infinity is a correct value for 1/sin(x) at x = 0 > because the limit could be -infinity or +infinity depending on the > direction of the limit along the real line, or it could be an infinity > with any complex phase when approached through the complex plane. > > On the other hand log(0) = -infinity because log(x) tends to -infinity > no matter the direction of approach. > > Fredrik
No, log(0) has to be ComplexInfinity. Otherwise, limit(1/exp(log(-x), x, 0, "+") = +infinity ! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" 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?hl=en -~----------~----~----~----~------~----~------~--~---
