#17130: Fix coercion bugs in symbolic functions
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: defect | Status: needs_work
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 | 9d3cbbdbafb12d1da899abafe0137b4a5639de30
Dependencies: #17131, #17133 | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vbraun):
* status: positive_review => needs_work
Comment:
{{{
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)) # abs tol 1e-16
Expected:
-0.31813150520476413 + 1.3372357014306895*I
Got:
-0.31813150520476413 + 1.3372357014306893*I
Tolerance exceeded in 1 of 2:
+ 1.3372357014306895 vs + 1.3372357014306893, tolerance 2e-16 > 1e-16
**********************************************************************
File "src/sage/functions/log.py", line 663, in
sage.functions.log.Function_lambert_w._evalf_
Failed example:
lambert_w(float(-1)) # abs tol 1e-16
Expected:
(-0.31813150520476413+1.3372357014306895j)
Got:
(-0.31813150520476413+1.3372357014306893j)
Tolerance exceeded in 1 of 2:
+1.3372357014306895 vs +1.3372357014306893, tolerance 2e-16 > 1e-16
**********************************************************************
1 item had failures:
2 of 9 in sage.functions.log.Function_lambert_w._evalf_
[171 tests, 2 failures, 2.51 s]
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17130#comment:52>
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.