Here there is an improved version, to avoid quotient by zero if f=0 ratlimit(f,x,l) := block([d,n,dd], if f=0 then 0 else ( d:denom(f), n:denom(1/f), dd : hipow(d,x), d : tlimit(x^(-dd)*d,x,l), n : tlimit(x^(-dd)*n,x,l), n/d ) )$ Stefano