#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 rws):
Replying to [comment:15 mmezzarobba]:
> Replying to [comment:14 vdelecroix]:
> > Here is one problem with using the symbolic ring for constants:
> > {{{
> > sage: 0.1 * cos(pi/13)
> > 0.100000000000000*cos(1/13*pi)
> > }}}
> > The answer should be a floating point real number!
>
> Yes, perhaps, I'm not sure. Perhaps it should be a symbolic expression
wrapping a FP number. Or perhaps it should just stay unevaluated. For
instance, if `0.1 * cos(pi/13)` evaluates to a FP number, what should
`0.1 * x * cos(pi/13)` do?
But that would be then a different case? Anyway, the non-symbolic issue is
now #18697.
--
Ticket URL: <http://trac.sagemath.org/ticket/15605#comment:17>
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.