who even calls something lim x->pi/2 tan(x). Besides, its not like it necessarily diverges to infinity (or even better: converges to infinity, not sure whats "uneigentliche konvergenz" jn english). It may as well tend to -infinity or have no value at all.