Thanks. I've just tried
2014-02-18 13:20 GMT+01:00 Sergey Kirpichev <skirpic...@gmail.com>: > On Tuesday, February 18, 2014 12:51:50 PM UTC+4, Christophe Bal wrote: >> >> Hello, >> what is the origin of this name gruntz ? >> > > From the name of algorithm author. > > >> 2014-02-18 1:57 GMT+01:00 Aaron Meurer <asme...@gmail.com>: >> >>> Ah, so it seems that these incorrect limit heuristics have still not >>> been completely abolished from the code base. I would recommend just >>> using gruntz() for now. limit() is not that much smarter, but it does >>> have a bad tendency to give wrong answers when gruntz() works just >>> fine. >>> >>> Aaron Meurer >>> >>> On Mon, Feb 17, 2014 at 1:29 PM, Christophe Bal <proj...@gmail.com> >>> wrote: >>> > Thanks for this. >>> > >>> > >>> > 2014-02-17 19:21 GMT+01:00 Avichal Dayal <avicha...@gmail.com>: >>> >>> > >>> >> However gruntz gives the correct result:- >>> >> gruntz((x*exp(x)) / (exp(x)-1), x, -oo) gives 0 >>> >> >>> >> The part of code that is going wrong is already labeled as XXX: todo >>> >> More specifically the following:- >>> >> if abs(z0) is S.Infinity: >>> >> # XXX todo: this should probably be stated in the >>> >> # negative -- i.e. to exclude expressions that should >>> >> # not be handled this way but I'm not sure what that >>> >> # condition is; when ok is True it means that the leading >>> >> # term approach is going to succeed (hopefully) >>> >> >>> >> It should exclude some expressions and I guess this is one of them. >>> >> I'll try to understand and fix it. >>> >> >>> >> >>> >> -- >>> >> 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. >>> >> For more options, visit https://groups.google.com/groups/opt_out. >>> > >>> > >>> > -- >>> > 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. >>> > For more options, visit https://groups.google.com/groups/opt_out. >>> >>> -- >>> 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. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to sympy@googlegroups.com. > Visit this group at http://groups.google.com/group/sympy. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.