#15134: HyperbolicFunction can't handle Python complex input
-------------------------------------+-------------------------------------
Reporter: eviatarbach | Owner:
Type: defect | Status: needs_work
Priority: major | Milestone: sage-7.3
Component: numerical | Resolution:
Keywords: days78 | Merged in:
Authors: Eviatar Bach | Reviewers: Travis Scrimshaw
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/eviatarbach/hyperbolic | 13b6d3e03db6d6c4b7163a27175a8dc52225ba91
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vbraun):
* status: positive_review => needs_work
Comment:
There is some numerical noise on some buildbots:
{{{
sage -t --long src/sage/functions/hyperbolic.py
**********************************************************************
File "src/sage/functions/hyperbolic.py", line 238, in
sage.functions.hyperbolic.Function_coth.__init__
Failed example:
coth(complex(1, 2))
Expected:
(0.8213297974938518+0.17138361290918508j)
Got:
(0.8213297974938518+0.17138361290918505j)
**********************************************************************
File "src/sage/functions/hyperbolic.py", line 442, in
sage.functions.hyperbolic.Function_arccosh.__init__
Failed example:
arccosh(complex(1, 2))
Expected:
(1.5285709194809982+1.1437177404024204j)
Got:
(1.528570919480998+1.1437177404024206j)
**********************************************************************
2 items had failures:
1 of 23 in sage.functions.hyperbolic.Function_arccosh.__init__
1 of 15 in sage.functions.hyperbolic.Function_coth.__init__
[181 tests, 2 failures, 1.23 s]
}}}
--
Ticket URL: <https://trac.sagemath.org/ticket/15134#comment:11>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.