#16439: Allow inverse trig functions to all take complex input
-------------------------------------+-------------------------------------
Reporter: kcrisman | Owner:
Type: defect | Status: needs_work
Priority: minor | Milestone: sage-6.3
Component: symbolics | Resolution:
Keywords: | Merged in:
Authors: Punarbasu | Reviewers: Karl-Dieter Crisman,
Purkayastha | Ralf Stephan
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/ppurka/allow_inverse_trig_functions_to_all_take_complex_input|
e776b188e54d567b2112aadb7cd8e13e6e6cbe59
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vbraun):
* status: positive_review => needs_work
Comment:
Precision issues on multiple platforms
{{{
sage -t --long src/sage/functions/trig.py
**********************************************************************
File "src/sage/functions/trig.py", line 179, in
sage.functions.trig.Function_sec._evalf_
Failed example:
sec(complex(1,1))
Expected:
(0.49833703055518686+0.5910838417210451j)
Got:
(0.4983370305551868+0.591083841721045j)
**********************************************************************
File "src/sage/functions/trig.py", line 721, in
sage.functions.trig.Function_arccsc._evalf_
Failed example:
arccsc(complex(1,1))
Expected:
(0.45227844715119064-0.5306375309525178j)
Got:
(0.45227844715119064-0.5306375309525179j)
**********************************************************************
File "src/sage/functions/trig.py", line 797, in
sage.functions.trig.Function_arcsec._evalf_
Failed example:
arcsec(complex(1,1))
Expected:
(1.118517879643706+0.5306375309525178j)
Got:
(1.118517879643706+0.5306375309525179j)
**********************************************************************
}}}
Use `# rel tol`.
--
Ticket URL: <http://trac.sagemath.org/ticket/16439#comment:18>
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.