#15605: (-1)^(2/3) evaluates to 1
-------------------------------+------------------------
Reporter: mmezzarobba | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.4
Component: symbolics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------+------------------------
Comment (by vdelecroix):
Just to give some concrete motivations, in #16222 (and #17516) we need a
rather small subsets of symbolic expressions that modelize (some)
algebraic numbers. Namely:
- no variable
- rational coefficients
- I
- exp(2*I*pi*a), cos(2*pi*a), sin(2*pi*a) with a rational
- rational powers
- taking real and imaginary parts
An example of such expression is
{{{
((cos(pi/7) + (-1)^(1/3))^(2/3)).real()
}}}
Do you think this must be out of the symbolic ring?
Vincent
--
Ticket URL: <http://trac.sagemath.org/ticket/15605#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.
For more options, visit https://groups.google.com/d/optout.