#10064: -1 in expression "is_positive".
-------------------------------+--------------------------------------------
       Reporter:  fmaltey      |         Owner:  burcin         
           Type:  defect       |        Status:  positive_review
       Priority:  critical     |     Milestone:  sage-5.11      
      Component:  calculus     |    Resolution:                 
       Keywords:  sd35         |   Work issues:                 
Report Upstream:  N/A          |     Reviewers:  Burcin Erocal  
        Authors:  Mike Hansen  |     Merged in:                 
   Dependencies:  #7160        |      Stopgaps:                 
-------------------------------+--------------------------------------------
Changes (by burcin):

  * milestone:  sage-pending => sage-5.11


Old description:

> I test :
>
> {{{
> y = I*I*x / x # so y is the expression -1
> y._is_positive()  # the answer is True (and I dislike)
> z = -x / x
> z._is_positive()   # the answer is False
> bool (z == y) # the answer is True
> }}}
>
> Apply attachment:trac_10064.patch.

New description:

 I test :

 {{{
 y = I*I*x / x # so y is the expression -1
 y._is_positive()  # the answer is True (and I dislike)
 z = -x / x
 z._is_positive()   # the answer is False
 bool (z == y) # the answer is True
 }}}

 Apply [attachment:trac_10064.sage-5.10.beta5.patch].

--

Comment:

 Now that #7160 is fixed (by way of #13213), this can be merged.

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