#11155: abs(pi+I) = pi+I
--------------------------+-------------------------------------------------
   Reporter:  benreynwar  |          Owner:  burcin  
       Type:  defect      |         Status:  new     
   Priority:  critical    |      Milestone:  sage-5.0
  Component:  symbolics   |       Keywords:          
Work_issues:              |       Upstream:  N/A     
   Reviewer:              |         Author:          
     Merged:              |   Dependencies:          
--------------------------+-------------------------------------------------
Changes (by was):

 * cc: burcin (added)
  * priority:  major => critical
  * milestone:  => sage-5.0


Old description:

> abs(pi+I) returns pi+I
>
> one would have expected:
> sqrt(pi^2+1)

New description:

 abs(pi+I) returns pi+I

 one would have expected:
 {{{
 sqrt(pi^2+1)
 }}}

--

Comment:

 I can confirm this further.  It's mathematically seriously incorrect... so
 now moving from major to critical, and cc'ing burcin.

 Note:

 {{{
 sage: z = pi + i
 sage: abs(z)
 pi + I
 sage: sqrt((z*z.conjugate()).expand())
 sqrt(pi^2 + 1)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11155#comment:2>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to