#19791: tan(complex).imag() wrong
-------------------------+-------------------------------------------------
Reporter: rws | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.0
Component: symbolics | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: Reported upstream. Developers
Work issues: | acknowledge bug.
Commit: | Branch:
Stopgaps: | Dependencies:
-------------------------+-------------------------------------------------
{{{
sage: tan(2+I).n()
-0.243458201185725 + 1.16673625724092*I
sage: tan(2+I).imag().n()
0.0605381745356926
sage: tan(2+I).imag()
tanh(1)/(tan(2)^2*tan(1)^2 + 1)
}}}
There is a form that works at
http://dlmf.nist.gov/4.21.E39
See https://github.com/pynac/pynac/issues/114
--
Ticket URL: <http://trac.sagemath.org/ticket/19791>
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.