The integral $\int_{0}^{\infty} \cos(x) dx$ is considered to be divergence, as well as $ \int_{1}^{\infty} x^{-1} dx$.
Now I'm studying curves in space, and there are many integrals from curvature, torsion and their combinations.
It would be important for me to separate these types of behavior. Personally, I would call $ \int_{1}^{\infty} x^{-1} dx$ converge to $+ \infty $, and say $\int_{0}^{\infty} x \cos(x) dx$ converge to $\infty $ by absolute value.
$ \int_{0}^{ \infty} \cos(x) dx$ could be called something else: no limit, undefined, etc.
One can give a strict definition of "convergence to $ \infty $", like:
for any $L >0$ there is $x^* > 0$ such that $|\int_{0}^{s} f(x) dx|>L$ for any $s > x^*$
Are there any such definitions in the analysis? Maybe not in the rigorous courses, but did no one emphasize that this is a completely different behavior?