Negative hipow or something



Hi,

I've been working on getting an implementation of Gruntz's limit
algorithm to work and have had some trouble with the following
problem.

You get some function, f(w) and want to know the power of the leading
term in the taylor series of f about 0.

My original "solution" was 

hipow( rat( first( taylor( f, w, 0, 0 ) ) ) )

(well actually it's in lisp, but it's basically this)

But if the power is negative then hipow returns 0. I was about to hack
up some lisp using the cre form returned by rat, but wondered if
someone had already done it.

Rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 306 bytes
Desc: not available
Url : http://www.math.utexas.edu/pipermail/maxima/attachments/20080429/bd3b2c8d/attachment.pgp