#10062: With imag, sqrt and subs I get 0==1
---------------------------------+------------------------------------------
       Reporter:  fmaltey        |         Owner:  burcin      
           Type:  defect         |        Status:  needs_review
       Priority:  major          |     Milestone:  sage-5.11   
      Component:  calculus       |    Resolution:              
       Keywords:                 |   Work issues:              
Report Upstream:  N/A            |     Reviewers:              
        Authors:  Burcin Erocal  |     Merged in:              
   Dependencies:                 |      Stopgaps:              
---------------------------------+------------------------------------------
Changes (by burcin):

  * status:  needs_info => needs_review
  * milestone:  sage-5.10 => sage-5.11


Old description:

> I use Sage 4.5.3
>
> {{{
> var('m') ; y=sqrt(m^2-1)
> y(m=0)         # =I, is right
> imag(y)        # =.... feels right, arctan2(0,-1)=pi when m=0
> imag(y(m=0))   # =1, is right
> (imag(y))(m=0) # is 0 and I don't understand why !
> }}}

New description:

 I use Sage 4.5.3

 {{{
 var('m') ; y=sqrt(m^2-1)
 y(m=0)         # =I, is right
 imag(y)        # =.... feels right, arctan2(0,-1)=pi when m=0
 imag(y(m=0))   # =1, is right
 (imag(y))(m=0) # is 0 and I don't understand why !
 }}}

 Apply [attachment:trac_10062-doctest.sage-5.10.beta5.patch]

--

Comment:

 The underlying problem #7160 was finally fixed (by #13213). Please review
 this simple doctest patch.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10062#comment:6>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to