#12588: abs(pi*I) should return pi
-------------------------------------+-------------------------------------
       Reporter:  dkrenn             |        Owner:  burcin
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.8
      Component:  symbolics          |   Resolution:
       Keywords:  absolute value,    |    Merged in:
  symbolic                           |    Reviewers:  Karl-Dieter Crisman
        Authors:  Ralf Stephan       |  Work issues:
Report Upstream:  Fixed upstream,    |       Commit:
  in a later stable release.         |  33e868c92e7cb2627739d717b79ad21854033beb
         Branch:                     |     Stopgaps:
  u/rws/abs_pi_i__should_return_pi   |
   Dependencies:  #18537             |
-------------------------------------+-------------------------------------

Comment (by rws):

 New code in Pynac master is now able to do:
 {{{
 sage: abs(I*x)
 abs(x)
 sage: abs(I*pi)
 pi
 sage: abs(I*log(2))
 log(2)
 sage: abs(I*e^5)
 e^5
 sage: abs(log(1/2))
 -log(1/2)
 sage: abs(log(1/2)*log(1/3))
 log(1/2)*log(1/3)
 sage: abs(log(1/2)*log(1/3)*log(1/4))
 -log(1/2)*log(1/3)*log(1/4)
 sage: abs(log(1/2)*log(1/3)*log(1/4)*i)
 -log(1/2)*log(1/3)*log(1/4)
 sage: abs(log(1/pi))
 -log(1/pi)
 sage: abs(log(x))
 abs(log(x))
 sage: abs(zeta(I))
 abs(zeta(I))

 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/12588#comment:21>
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.

Reply via email to