In this post - Integrating $\int_0^\infty \frac{1-\cos x }{x^2}dx$ via contour integral. - I understood upto the point where $|\frac{1-e^{iz}}{z^2}| \leq \frac{2}{|z^2|}$. I didn't understand the next sentence equating $\int_{|x|>\epsilon} \frac{1-e^{x^2}}{x^2} dx$.
I think it should be 1/2 the quantity on the right, since there are two values of $\int_{|x|>\epsilon} \frac{1-e^{x^2}}{x^2} dx$ in the original equation. Can someone explain this?
I am doing a self-study of complex-analysis by Shakarchi.