Bug #535363 again



On Sun, 23 Sep 2007 01:40:42 -0400
"Stavros Macrakis" <macrakis at alum.mit.edu> wrote:
> Your code is indeed considerably simpler, but incorrect in many simple
> cases. All the following are polynomials in x but your code reports
> that they are not:
> 
>        %pi
>        a
>        x+a
>        a*x
>        rat(x,q)
> 
> Barton Willis's code is correct, I believe.

Oh. Am feeling a bit stupid! Which code is Barton Willis's? Unless I've
inadvertently deleted an email, I don't think he posted any.

In which case, do you mean polyp which is in limit.lisp? That works on
all but your last example. And I really should have found it before
trying to write my own!

Rupert

P.S. Am feeling even more stupid because the reply-all button on my
email client seems to have been eluding me. :(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : http://www.math.utexas.edu/pipermail/maxima/attachments/20070924/937bd981/attachment.pgp