#12588: abs(pi*I) should return pi
-------------------------------------+-------------------------------------
       Reporter:  dkrenn             |        Owner:  burcin
           Type:  defect             |       Status:  needs_info
       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             |
-------------------------------------+-------------------------------------
Changes (by kcrisman):

 * status:  needs_review => needs_info
 * reviewer:   => Karl-Dieter Crisman


Comment:

 I note that this doesn't change
 {{{
 sage: abs(i*x)
 abs(I*x)
 }}}
 (see [https://groups.google.com/forum/#!topic/sage-devel/6j-LcC6tpkE this
 long discussion] as to connections to derivatives).  As long as that's
 intentional, fine.

 In the original [https://groups.google.com/forum/#!topic/sage-
 support/KLvQSnja21c discussion leading to this ticket], we have this
 example, which is still around.
 {{{
 sage: abs(log(2)*I)
 abs(I*log(2))
 sage: abs(log(2.)*I)
 0.693147180559945
 }}}
 Again, just wondering if that is intentional, should be another ticket,
 belongs here... etc.  It seems to relate to whether something is a
 "constant" or just in SR.
 {{{
 sage: abs(euler_gamma*I)
 euler_gamma
 sage: abs(5*I)
 5
 sage: abs(e^5*I)
 abs(I*e^5)
 }}}
 I guess this would, in principle, belong to this ticket as well, though I
 understand not wanting to hold up on #18537 since these are sort of
 intertwined.  I don't have any other objections to this, though.

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