TITLE: Are there any known approaches of generalizing functions that do not have a limit at infinity to values at infinity?
QUESTION [5 upvotes]: Let's consider the affinely extended real line. The functions that have a limit on positive or negative infinity $\lim_{x\to+\infty} f(x)$ or $\lim_{x\to-\infty} f(x)$ can be generalized to the values at infinity $f(+\infty)$, $f(-\infty)$ based on these limits.
But what about functions that do not have such limits?
For instance, if we take these integrals following Borel (or Abel) generalization, we get:
$\int_0^\infty \cos x=0$ 
and
$\int_0^\infty \sin x=1$ 
Since integral of $\cos x$ is $\sin x$ and integral of $\sin x$ is $-\cos x$, we can probably generalize these functions to infinity (assuming the fundamental theorem of calculus should still hold): $\sin (\infty)=\cos(\infty)=0$ (notice, this would apparently break the main trigonometric identity $\sin^2 x+\cos^2 x =1$ at this point but one of the books linked in the comments resolves the paradox by claiming that $(\sin \infty)^2\ne \sin^2 \infty$ and the same for cosine). 
Still, I wonder whether there were other attempts at such generalization? Possibly, something along Cesaro lines (limit of mean value of the function) or sometyhing else?

REPLY [2 votes]: Many people developed a theory of limits of distributions at finite or infinite values in the 50's and 60's and for these all of your formulae hold. A particularly elementary version was developed by J. Sebastião e Silva and a complete description can be found online by googling has name and "limits of distributions at infinity". There is also a text book version by J. Campos Ferreira et al.---"Introduction to the theory of distributions".