Changes between Version 5 and Version 10 of Ticket #26060


Ignore:
Timestamp:
Sep 16, 2020, 1:41:49 AM (2 years ago)
Author:
Samuel Lelièvre
Comment:

Doctest added. Please review.


New commits:

7f9649626060: doctest for limit after Maxima upgrade

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26060

    • Property Status changed from new to needs_review
    • Property Branch changed from to public/ticket/26060
    • Property Commit changed from to 7f964965cc53474166342bcf9a1146233d9fc42b
    • Property Milestone changed from sage-8.7 to sage-duplicate/invalid/wontfix
  • Ticket #26060 – Description

    v5 v10  
     1Up to Sage 8.7 this limit returns "und" for "undefined":
    12{{{#!python
    2 sage: (x / (x+2^x+cos(x))).limit(x=-infinity)
     3sage: limit(x / (x+2^x+cos(x)), x=-infinity)
    34und
    45}}}
    5 Should clearly be 1.
     6while it should clearly be 1.
    67
    78!SymPy returns the correct result:
     
    1112}}}
    1213
    13 This was reported to Maxima on 2018-08-15 as
    14 [https://sourceforge.net/p/maxima/bugs/3459/ Maxima bug 3459],
    15 which was fixed by
    16 [https://sourceforge.net/p/maxima/code/ci/0c5c0187338060761746fbd0821ce5f28b3245cd/ Maxima commit 0c5c018]
    17 on 2018-08-30, and the fix is included in
    18 [https://sourceforge.net/p/maxima/code/ci/master/tree/ChangeLog-5.42.md Maxima 5.42.2]
    19 to which we will upgrade in #26625.
     14Reported to Maxima on 2018-08-15
     15as [https://sourceforge.net/p/maxima/bugs/3459/ Maxima bug 3459],
     16fixed there
     17by [https://sourceforge.net/p/maxima/code/ci/0c5c0187338060761746fbd0821ce5f28b3245cd/ Maxima commit 0c5c018]
     18on 2018-08-30, and the fix is included
     19in [https://sourceforge.net/p/maxima/code/ci/master/tree/ChangeLog-5.42.md Maxima 5.42.2]
     20to which we upgraded in #26625, merged in Sage 8.8.beta7.
     21
     22In Sage >= 8.8 we get the correct value for this limit:
     23{{{#!python
     24sage: limit(x / (x+2^x+cos(x)), x=-infinity)
     251
     26}}}
     27
     28This ticket adds a doctest for that limit computation.