#12257: 1.0*pi should *not* be pi
----------------------------+------------------------
Reporter: was | Owner: burcin
Type: defect | Status: new
Priority: minor | Milestone: sage-6.4
Component: calculus | Resolution:
Keywords: pynac | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
----------------------------+------------------------
Comment (by rws):
I think this can be generalized to -1,0,1:
{{{
sage: 0.0+5
5.00000000000000
sage: 0.0+x
x
sage: 0.0*x
0
sage: -1.0*x
-x
sage: -2.0*x
-2.00000000000000*x
sage: x^0.0
1
sage: x^1.0
x
sage: x^2.0
x^2.00000000000000
sage: x^-1.0
1/x
sage: x^-2.0
x^(-2.00000000000000)
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/12257#comment:11>
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.