Opened 6 months ago
Last modified 6 hours ago
#26060 new defect
Wrong limit calculation
Reported by: | pelegm | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-8.7 |
Component: | calculus | Keywords: | limit, maxima |
Cc: | slelievre | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | Fixed upstream, in a later stable release. | Work issues: | |
Branch: | Commit: | ||
Dependencies: | #26625 | Stopgaps: |
Description (last modified by )
sage: (x / (x+2^x+cos(x))).limit(x=-infinity) und
Should clearly be 1.
SymPy returns the correct result:
sage: (x / (x+2^x+cos(x))).limit(x=-infinity, algorithm='sympy') 1
This was reported to Maxima on 2018-08-15 as Maxima bug 3459, which was fixed by Maxima commit 0c5c018 on 2018-08-30, and the fix is included in Maxima 5.42.2 to which we will upgrade in #26625.
Change History (5)
comment:1 Changed 6 months ago by
- Report Upstream changed from N/A to Reported upstream. No feedback yet.
comment:2 Changed 6 months ago by
- Report Upstream changed from Reported upstream. No feedback yet. to Reported upstream. Developers acknowledge bug.
comment:3 Changed 6 months ago by
- Report Upstream changed from Reported upstream. Developers acknowledge bug. to Fixed upstream, but not in a stable release.
comment:4 Changed 6 months ago by
(That was pretty fast work!)
comment:5 Changed 6 hours ago by
- Cc slelievre added
- Dependencies set to #26625
- Description modified (diff)
- Keywords changed from limit,maxima to limit, maxima
- Milestone changed from sage-8.4 to sage-8.7
- Report Upstream changed from Fixed upstream, but not in a stable release. to Fixed upstream, in a later stable release.
After the upgrade to Maxima 5.42.2 in #26625, we should add a doctest here.
Note: See
TracTickets for help on using
tickets.
Apparently yes.
I've reported this at Maxima bug 3459.