#12257: 1.0*pi should *not* be pi
------------------------+---------------------------------------------------
Reporter: was | Owner: burcin
Type: defect | Status: new
Priority: minor | Milestone: sage-5.0
Component: calculus | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------+---------------------------------------------------
This is really bad
{{{
sage: 1.0 * pi
pi
sage: sin(1.0 * pi)
0
}}}
This is good:
{{{
sage: maxima('sin(%pi*1.0)')
sin(1.0*%pi)
sage: maxima('1.0*%pi')
1.0*%pi
}}}
This is likely the fault of ginac doing something stupid with 1.0 == 1.
Ken Ribet pointed this out during the JMM 2012 meeting.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12257>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.