By Claude:
On master, limit and gruntz get the sign of the infinity wrong for some sums at inf in which one term outgrows the others, or even return 0:
(%i1) limit(x^10-gamma(x),x,inf);
(%o1) inf
(%i2) limit(cosh(x)-gamma(x),x,inf);
(%o2) inf
(%i3) limit(sinh(x)-gamma(x/2),x,inf);
(%o3) 0
(%i4) gruntz((x+1/2)^x-x^(x+1/2),x,inf);
(%o4) inf
(%i5) limit((x+1/2)^x-x^(x+1/2),x,inf);
(%o5) inf
All five should be minf. gamma(x) behaves like sqrt(2*%pi/x)*(x/%e)^x, so it grows faster than any power of x and than cosh(x) or sinh(x). (x+1/2)^x behaves like sqrt(%e)*x^x, so x^(x+1/2) = sqrt(x)*x^x grows faster. For example:
(%i6) bfloat(100^10-gamma(100));
(%o6) -9.332621544394415b155
(%i7) bfloat(subst(x = 100, (x+1/2)^x-x^(x+1/2)));
(%o7) -8.353331507883455b200
Maxima 5.50.0 gets the first and third limit right and gives 0 for the second. They broke with commit 8f7726bf8 ("Keep the side of c*zeroa in SIMPLIMIT"). gruntz(%e^(-1/2)*(x+1/2)^x-x^(x+1/2),x,inf) gives inf since commit 227d11d12 ("Fix for #4383 great not transitive"), in 5.48.1 and later. 5.47.0 leaves it unevaluated.
gruntz also treats gamma(x) and x! at inf like a power of x, and limit falls back on it:
(%i8) gruntz(gamma(x)/%e^x,x,inf);
(%o8) 0
(%i9) limit((x!-x)/exp(log(x)^2),x,inf);
(%o9) 0
(%i10) limit(gamma(x)-%e^-x*x^(x-1/2),x,inf);
(%o10) minf
All three limits are inf. And one limit asks about the sign of false:
(%i11) limit(log(gamma(gamma(x)))/gamma(x),x,inf);
Is false positive, negative or zero?