I have tried to evaluate this integral:$$\int_{-\infty}^{+\infty} \frac{\exp(1-ix)}{x^2+1}$$ playing by denominator $x^n+1$ , I have accrossed for $n=2$ a value is close to $\pi$ as shwon here in wolfram alpha , Now my question is to know what is the exact value of that integral ? is it $\pi$ ?
Note: $i$ is the unit imaginary part