An integral has infinite number of singularities

193 Views Asked by At

I don't know how to evaluate this integral.

$$\int _{0}^{\infty} \frac {x \tan x \cos (\tan^2 x)}{x^2+1}dx$$