Re: [sage-devel] Re: output form of limits is misleading

2019-05-13 Thread Gregory Grunberg
Hi Emmanuel, Thank you for your reply. Given the preliminary declarations > *x = var("x")* *h(x) = (x^2 + x + 2)/(x - 4)*, I've discovered that *limit(**h**, x=4, dir="right")* gives the confusing answer *x |--> +Infinity* , but that by replacing *h* by *h(x)* one obtains the desired

[sage-devel] Re: output form of limits is misleading

2019-05-13 Thread Emmanuel Charpentier
Let's see : sage: h(x)=(x^2+x+2)/(x-4) sage: h.parent() Callable function ring with argument x sage: limit(h,x=4,dir="right").parent() Callable function ring with argument x sage: h(x).parent() Symbolic Ring sage: limit(h(x),x=4,dir="right").parent() Symbolic Ring sage: limit(h(x),x=4,dir="right")