Sometimes when I try to use Mathematica to evaluate some integrals depending on some parameter $\alpha\in\mathbb{C}$ the result ends up involving $(-1)^{\alpha}$. Now this is ambiguous if $\alpha\notin\mathbb{Z}$. In fact it could be either $e^{\pm i\pi\alpha}$ and indeed the two can be distinct $$e^{i\pi\alpha}=e^{2\pi i\alpha}e^{-i\pi\alpha},$$
and when $\alpha\notin\mathbb{Z}$ the factor $e^{2\pi i\alpha}\neq 1$. All that said, if Mathematica outputs the result as $(-1)^{\alpha}$ I don't really know which of the two possibilities it is supposed to be.
How can I make Mathematica write $(-1)^\alpha$ correctly for general $\alpha$ when evaluating an integral, taking branch cuts into consideration?