#17130: Fix coercion bugs in symbolic functions
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  defect             |       Status:  positive_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  symbolics          |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jeroen Demeyer     |    Reviewers:  Ralf Stephan
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jdemeyer/ticket/17130            |  a486db2b801f528a1a00b0dadb4c4c522f21654a
   Dependencies:  #17131, #17133     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by vbraun):

 I get more numerical noise
 {{{
 sage -t --long src/sage/functions/hyperbolic.py
 **********************************************************************
 File "src/sage/functions/hyperbolic.py", line 546, in
 sage.functions.hyperbolic.Function_arccoth.__init__
 Failed example:
     float(arccoth(2))
 Expected:
     0.5493061443340548
 Got:
     0.5493061443340549
 **********************************************************************
 1 item had failures:
    1 of   9 in sage.functions.hyperbolic.Function_arccoth.__init__
     [156 tests, 1 failure, 1.22 s]
 sage -t --long src/sage/functions/hypergeometric.py
     [143 tests, 5.23 s]
 sage -t --long src/sage/functions/jacobi.py
     [188 tests, 4.02 s]
 sage -t --long src/sage/functions/log.py
 **********************************************************************
 File "src/sage/functions/log.py", line 661, in
 sage.functions.log.Function_lambert_w._evalf_
 Failed example:
     lambert_w(RDF(-1))
 Expected:
     -0.3181315052047642 + 1.3372357014306895*I
 Got:
     -0.31813150520476413 + 1.3372357014306895*I
 **********************************************************************
 File "src/sage/functions/log.py", line 663, in
 sage.functions.log.Function_lambert_w._evalf_
 Failed example:
     lambert_w(float(-1))
 Expected:
     (-0.3181315052047642+1.3372357014306895j)
 Got:
     (-0.31813150520476413+1.3372357014306895j)
 **********************************************************************
 1 item had failures:
    2 of   9 in sage.functions.log.Function_lambert_w._evalf_
 sage -t --long src/sage/functions/special.py
 **********************************************************************
 File "src/sage/functions/special.py", line 355, in
 sage.functions.special.MaximaFunction._evalf_
 Failed example:
     f._evalf_(1, I, parent=CDF)
 Expected:
     0.8483795707591759 - 0.0742924734216079*I
 Got:
     0.8483795707591759 - 0.07429247342160791*I
 **********************************************************************
 1 item had failures:
    1 of  13 in sage.functions.special.MaximaFunction._evalf_
     [116 tests, 1 failure, 2.35 s]
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/17130#comment:46>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to