I want to find out if the following integrals converge and if possible, find their values.
$$(a) \int_{1}^{2} \frac{\mathrm dx}{\log x}$$
$$(b) \int_{0}^{+\infty} \left| \frac{\sin x}{x} \right| \mathrm dx$$
For $(a)$ I have $$\int_{1}^{2} \frac{1}{\log x}\mathrm dx = \operatorname{li}\left(x\right) + C$$ which is the logarithmic integral function.
An online function calculator gave me the antiderivative $-\operatorname{\Gamma}\left(0,-\ln\left(x\right)\right)$ and apparently it diverges. I don't understand what is meant with this antiderivative here: How does one get that, and why can the value of this integral not be calculated?
Regarding $(b)$ I used an online calculator as well, which gave me
$$\int_{0}^{+\infty} \left| \frac{\sin x}{x} \right| \mathrm dx= -\dfrac{\mathrm{i}\operatorname{\Gamma}\left(0,\mathrm{i}x\right)-\mathrm{i}\operatorname{\Gamma}\left(0,-\mathrm{i}x\right)}{2}$$ and the value ${\pi}/{2}$, but again I don't know if that is correct and how to get that antiderivative.
Can somebody maybe explain that?