#15605: (-1)^(2/3) evaluates to 1
-------------------------------+------------------------
       Reporter:  mmezzarobba  |        Owner:
           Type:  defect       |       Status:  new
       Priority:  major        |    Milestone:  sage-6.1
      Component:  symbolics    |   Resolution:
       Keywords:               |    Merged in:
        Authors:               |    Reviewers:
Report Upstream:  N/A          |  Work issues:
         Branch:               |       Commit:
   Dependencies:               |     Stopgaps:
-------------------------------+------------------------
Description changed by mmezzarobba:

Old description:

> Likely a duplicate, but I couldn't find it elsewhere...
> {{{
> sage: (-1)^(2/3)
> 1
> }}}
>
> Of course, this is inconsistent with virtually all interpretations and
> conversions of symbolic expressions...
> {{{
> sage: CC(-1)^(2/3)
> -0.500000000000000 + 0.866025403784439*I
> sage: QQbar(-1)^(2/3)
> -0.500000000000000? + 0.866025403784439?*I
> sage: RR(-1)^(2/3)
> -0.500000000000000 + 0.866025403784439*I
> }}}
>
> Also:
> {{{
> sage: (-1)^(-1/3)
> -1
> }}}

New description:

 Likely a duplicate, but I couldn't find it elsewhere...
 {{{
 sage: (-1)^(2/3)
 1
 }}}

 Of course, this is inconsistent with virtually all interpretations and
 conversions of symbolic expressions...
 {{{
 sage: CC(-1)^(2/3)
 -0.500000000000000 + 0.866025403784439*I
 sage: QQbar(-1)^(2/3)
 -0.500000000000000? + 0.866025403784439?*I
 sage: RR(-1)^(2/3)
 -0.500000000000000 + 0.866025403784439*I
 }}}

 Also:
 {{{
 sage: (-1)^(-1/3)
 -1
 }}}

 {{{
 sage: (-1)^(1/3)*(-1)^(1/5)
 1
 }}}
 }}}

--

--
Ticket URL: <http://trac.sagemath.org/ticket/15605#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 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/groups/opt_out.

Reply via email to