The affinely extended real number system turns into a totally ordered set by defining -\infty\leq a \leq +\infty for all a.
With this topology the specially defined limits for x tending to +\infty and -\infty, and the specially defined concepts of limits equal to +\infty and -\infty, reduce to the general topological definitions of limits.