Skip to content

(-1)^(2/3) evaluates to 1 #15605

Closed
Closed
@mezzarobba

Description

@mezzarobba

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)^(1/3))
-1
sage: (-1)^(1/3)*(-1)^(1/5)
1

but

sage: (-1)^(1/15)
(-1)^(1/15)

CC: @videlec

Component: symbolics

Author: Ralf Stephan

Branch: 69f75ec

Reviewer: Vincent Delecroix

Issue created by migration from https://trac.sagemath.org/ticket/15605

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions