Closed
Description
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.
Depends on #18088
Depends on #18362
CC: @kcrisman
Component: calculus
Keywords: pynac
Author: Ralf Stephan
Branch/Commit: 906736b
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/12257