Fix $t>0$ and consider the following Principal Value integral: $$ \mathscr{P}\int_{-\infty}^{\infty}d\omega \frac{e^{-i \omega t}}{\sqrt{\omega^2}} = - \log(t^2) $$
This is the function that Mathematica spits out (and this also matches a result that I'm finding in Lighthill's ``An Introduction to Fourier Analysis and Generalized Functions'', up to a constant).
I'm posting because when I check this calculation myself explicitly, I'm getting something strange. This is my method of computation: $$ \mathscr{P} \int_{-\infty}^{\infty} \frac{d\omega}{\sqrt{\omega^2}} e^{ - i \omega t } = \lim\limits_{\eta \to 0^{+}} \left\{ \int_{-\infty}^{-\eta} \frac{d\omega}{-\omega} e^{ - i \omega t } \ + \ \int_{\eta}^{\infty} \frac{d\omega}{\omega} e^{ - i \omega t } \right\} $$
After switching the variable $\omega \mapsto -\omega$ in the first integral, the above simplifies to: $$ \ldots = \lim\limits_{\eta \to 0^{+}} \left\{ 2 \int_{\eta}^{\infty} \frac{d\omega}{\omega} \cos\left( \omega t \right) \right\} = \lim\limits_{\eta \to 0^{+}} \left\{ - 2 \mathrm{Ci}\left( \eta t \right) \right\} $$
Where $\mathrm{Ci}$ is the cosine-integral function. The problem is that I cannot take the limit $\eta \to 0^{+}$. Upon an expansion about $\eta =0$, I find that the above looks like: $$ \ldots = \lim\limits_{\eta \to 0^{+}} \left\{ - 2 \gamma - \log(\eta^2) - \log(t^2) + \mathscr{O}(\eta^2) \right\} $$
So it seems to me like the integral has the value $- 2\gamma - \lim\limits_{\eta\to 0^+} \log(\eta^2) - \log(t^2)$. So I get the right functional form in $t$, but I have an extra two constant appearing - one of which is infinite!
The $\eta$ seems to be a 'regulator' for the normally divergent integral - how does one get rid of it? Am I using the wrong definition for the Cauchy Principal value in my computation? Mathematica and Lighthill seems to be throwing the $-2 \gamma - \log(\eta^2)$ away somehow.
P.S. $\gamma$ is the Euler-Mascheroni constant.