#12171: Update MPFI to 1.5.0
---------------------------+------------------------------------------------
   Reporter:  mhansen      |          Owner:  tbd         
       Type:  enhancement  |         Status:  needs_review
   Priority:  major        |      Milestone:  sage-4.8    
  Component:  packages     |       Keywords:              
Work_issues:               |       Upstream:  N/A         
   Reviewer:               |         Author:  Mike Hansen 
     Merged:               |   Dependencies:              
---------------------------+------------------------------------------------

Comment(by fbissey):

 Have you checked the following doctests:
 {{{
 sage -t -long "devel/sage/sage/rings/qqbar.py"
 **********************************************************************
 File "/usr/share/sage/devel/sage/sage/rings/qqbar.py", line 3808:
     sage: (x-2).real_exact(RR)
 Expected:
     0.000000000000000
 Got:
     -0.000000000000000
 **********************************************************************
 File "/usr/share/sage/devel/sage/sage/rings/qqbar.py", line 3810:
     sage: (x-2).real_exact(RealField(53, rnd='RNDD'))
 Expected:
     0.000000000000000
 Got:
     -0.000000000000000
 **********************************************************************
 File "/usr/share/sage/devel/sage/sage/rings/qqbar.py", line 3812:
     sage: (x-2).real_exact(RealField(53, rnd='RNDU'))
 Expected:
     0.000000000000000
 Got:
     -0.000000000000000
 **********************************************************************
 File "/usr/share/sage/devel/sage/sage/rings/qqbar.py", line 3814:
     sage: (x-2).real_exact(RealField(53, rnd='RNDZ'))
 Expected:
     0.000000000000000
 Got:
     -0.000000000000000
 **********************************************************************
 1 items had failures:
    4 of  20 in __main__.example_96
 ***Test Failed*** 4 failures.
 }}}
 and
 {{{
 sage -t -long "devel/sage/sage/rings/real_mpfi.pyx"
 **********************************************************************
 File "/usr/share/sage/devel/sage/sage/rings/real_mpfi.pyx", line 1078:
     sage: b = R(1)/R(0); b
 Expected:
     [+infinity .. +infinity]
 Got:
     [-infinity .. +infinity]
 **********************************************************************
 File "/usr/share/sage/devel/sage/sage/rings/real_mpfi.pyx", line 1080:
     sage: loads(dumps(b)) == b
 Expected:
     True
 Got:
     False
 **********************************************************************
 File "/usr/share/sage/devel/sage/sage/rings/real_mpfi.pyx", line 1082:
     sage: b = R(-1)/R(0); b
 Expected:
     [-infinity .. -infinity]
 Got:
     [-infinity .. +infinity]
 **********************************************************************
 File "/usr/share/sage/devel/sage/sage/rings/real_mpfi.pyx", line 1084:
     sage: loads(dumps(b)) == b
 Expected:
     True
 Got:
     False
 **********************************************************************
 File "/usr/share/sage/devel/sage/sage/rings/real_mpfi.pyx", line 2360:
     sage: R(1)/R(0)
 Expected:
     [+infinity .. +infinity]
 Got:
     [-infinity .. +infinity]
 **********************************************************************
 File "/usr/share/sage/devel/sage/sage/rings/real_mpfi.pyx", line 3217:
     sage: RIF(-1, 1).min(0).endpoints()
 Expected:
     (-1.00000000000000, 0.000000000000000)
 Got:
     (-1.00000000000000, -0.000000000000000)
 **********************************************************************
 File "/usr/share/sage/devel/sage/sage/rings/real_mpfi.pyx", line 3221:
     sage: RIF(-1, 1).min(0).endpoints()
 Expected:
     (-1.00000000000000, 0.000000000000000)
 Got:
     (-1.00000000000000, -0.000000000000000)
 **********************************************************************
 3 items had failures:
    4 of  18 in __main__.example_29
    1 of   8 in __main__.example_55
    2 of   9 in __main__.example_80
 ***Test Failed*** 7 failures.
 }}}
 I did those test about one year ago [https://github.com/cschwan/sage-on-
 gentoo/issues/30] so some things have probably changed a little bit but I
 expect you'll have to patch sage.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12171#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to