Opened 16 months ago
Last modified 6 months ago
#26060 new defect
Wrong limit calculation
Reported by: | pelegm | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
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 (7)
comment:1 Changed 16 months ago by
- Report Upstream changed from N/A to Reported upstream. No feedback yet.
comment:2 Changed 16 months ago by
- Report Upstream changed from Reported upstream. No feedback yet. to Reported upstream. Developers acknowledge bug.
comment:3 Changed 16 months ago by
- Report Upstream changed from Reported upstream. Developers acknowledge bug. to Fixed upstream, but not in a stable release.
comment:4 Changed 16 months ago by
(That was pretty fast work!)
comment:5 Changed 10 months 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.
comment:6 Changed 9 months ago by
- Milestone changed from sage-8.7 to sage-8.8
Ticket retargeted after milestone closed (if you don't believe this ticket is appropriate for the Sage 8.8 release please retarget manually)
comment:7 Changed 6 months ago by
- Milestone sage-8.8 deleted
As the Sage-8.8 release milestone is pending, we should delete the sage-8.8 milestone for tickets that are not actively being worked on or that still require significant work to move forward. If you feel that this ticket should be included in the next Sage release at the soonest please set its milestone to the next release milestone (sage-8.9).
Apparently yes.
I've reported this at Maxima bug 3459.