-
-
Notifications
You must be signed in to change notification settings - Fork 641
Closed
Milestone
Description
Up to Sage 8.7 this limit returns "und" for "undefined":
sage: limit(x / (x + 2^x + cos(x)), x=-infinity)
und
while it should clearly be 1.
SymPy returns the correct result:
sage: limit(x / (x+2^x + cos(x)), x=-infinity, algorithm='sympy')
1
Reported to Maxima on 2018-08-15
as Maxima bug 3459,
fixed there
by Maxima commit 0c5c018
on 2018-08-30, fix included
in Maxima 5.42.2
to which we upgrade in #26625, merged in Sage 8.8.beta7.
In Sage >= 8.8 we get the correct value for this limit:
sage: limit(x / (x + 2^x + cos(x)), x=-infinity)
1
This ticket adds a doctest for that limit computation.
Depends on #26625
Upstream: Fixed upstream, in a later stable release.
CC: @slel
Component: calculus
Keywords: limit, maxima
Author: Samuel Lelièvre
Branch/Commit: 7f96496
Reviewer: Karl-Dieter Crisman
Issue created by migration from https://trac.sagemath.org/ticket/26060