By Claude:
gruntz and limit can give wrong results when an expression has several exponentials of the same growth whose logarithms have an irrational ratio, such as 3^x and 4^x:
(%i1) display2d : false$
(%i2) gruntz((3^x*x^2)/(3^x*x+4^x), x, inf);
(%o2) inf
(%i3) gruntz((2^x*3^x*x-6^x)/(5^x+6^x), x, inf);
(%o3) minf
(%i4) limit(log(2*x*(2/3)^(x+1)+3*x*(1/2)^x)/log((1/2)^x+(5/2)^(x+2)), x, inf);
(%o4) und
The first limit is 0, because 4^x outgrows 3^x*x. The second one is inf, because the numerator is 6^x*(x-1). The third one is -(log(3)-log(2))/(log(5)-log(2)). limit gets the first one right by another method.
Many similar limits stay unevaluated, for example gruntz((9^x-3^x*x+2^x)/(3^x+2^x)^2, x, inf), which is 1.
The Gruntz code writes 3^x as a power of 4^x with the exponent log(3)/log(4) and then calls taylor. taylor treats a power of its variable with an exponent that is not a rational number as a coefficient, so the terms of the series are not in order, and the term taken as the leading one is often not the leading one.