Opened 5 years ago
Closed 5 years ago
#20098 closed defect (fixed)
doctest fix for: Re/Im(tanh) wrong formula
Reported by: | rws | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-7.1 |
Component: | symbolics | Keywords: | |
Cc: | behackl | Merged in: | |
Authors: | Ralf Stephan | Reviewers: | Marc Mezzarobba |
Report Upstream: | N/A | Work issues: | |
Branch: | 9eafdee (Commits) | Commit: | 9eafdee72e2d440a0ae9f7b47125a867a1524960 |
Dependencies: | Stopgaps: |
Description (last modified by )
In analogy to #19791:
sage: tanh(1+2*I).n() 1.16673625724092 - 0.243458201185725*I sage: tanh(1+2*I).real().n() 0.202053272732553 sage: tanh(1+2*I).imag().n() -0.579697798322816 sage: tanh(x).real() tanh(real_part(x))/(tan(imag_part(x))^2*tanh(real_part(x))^2 + 1) sage: tanh(x).imag() tan(imag_part(x))/(tan(imag_part(x))^2*tanh(real_part(x))^2 + 1)
See for example http://dlmf.nist.gov/4.35.E36
Will be fixed in Pynac-0.6.3 and should be doctested here.
Change History (6)
comment:1 Changed 5 years ago by
- Description modified (diff)
comment:2 Changed 5 years ago by
- Cc behackl added
comment:3 Changed 5 years ago by
- Branch set to u/rws/re_im_tanh__wrong_formula
comment:4 Changed 5 years ago by
- Commit set to 9eafdee72e2d440a0ae9f7b47125a867a1524960
- Status changed from new to needs_review
- Summary changed from Re/Im(tanh) wrong formula to doctest fix for: Re/Im(tanh) wrong formula
comment:5 Changed 5 years ago by
- Reviewers set to Marc Mezzarobba
- Status changed from needs_review to positive_review
comment:6 Changed 5 years ago by
- Branch changed from u/rws/re_im_tanh__wrong_formula to 9eafdee72e2d440a0ae9f7b47125a867a1524960
- Resolution set to fixed
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
New commits:
20098: doctest fix for Re/Im(tanh) wrong formula