limit lisp error (was fourie package lisp error)



On Oct. 1, 2009, Robert Dodier wrote:
-------------------------------------------------
Not a bug in fourier --- it appears to be due to this bug in limit.

(%i1) limit ((sin(n*x) - n*x*cos(n*x))/n^2, x, %pi);
                          sin(%pi n)   %pi cos(%pi n)
(%o1)                     ---------- - --------------
                               2             n
                              n
(%i2) declare (n, integer);
(%o2)                                done
(%i3) limit ((sin(n*x) - n*x*cos(n*x))/n^2, x, %pi);

*** - Lisp stack overflow. RESET

At this point I don't know anything else about it.
----------------------------------------
Thanks, Robert.

The same limit error occurs in ver. 5.19.1
and 5.19.0.

Ver. 5.18.1 appears to have the last good version
of limit, since the behavior is:
-------
Maxima 5.18.1 http://maxima.sourceforge.net
Using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (aka GCL)
..
(%i1) display2d:false$
(%i2) limit ((sin(n*x) - n*x*cos(n*x))/n^2, x, %pi);
(%o2) sin(%pi*n)/n^2-%pi*cos(%pi*n)/n
(%i3) declare (n,integer)$
(%i4) limit ((sin(n*x) - n*x*cos(n*x))/n^2, x, %pi);
(%o4) -%pi*(-1)^n/n
------------
Is this a known bug in version 5.19.2?

Ted Woollett