id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
12257 doctest that only integer +/- 1 gets special treatment was burcin "This is just a doctest of a fix already in main Sage.
Original description:
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. " defect closed minor sage-6.8 calculus fixed pynac kcrisman Ralf Stephan Jeroen Demeyer N/A 906736b399dbf41cdbdb898c725dad2bf7cc5d70 906736b399dbf41cdbdb898c725dad2bf7cc5d70 #18088, #18362