I am trying to evaluate an expression involving the hypergeometric function evaluated near its (principal) branch cut discontinuity, which is placed on the real line from $1$ to infinity.
For $x>1$, DLMF gives the following expression for the difference (or ''imaginary part'') of the regularized hypergeometric function $\mathbf F(a,b;c;z)={}_2F_1(a,b;c;z)/\Gamma(c)$ across the branch cut, $$ \mathbf F(a,b;c;x+i0) - \mathbf F(a,b;c;x-i0)$$ $$ = \tfrac{i2\pi}{\Gamma(a)\Gamma(b)}(x-1)^{c-a-b}\mathbf F(c-a,c-b;c-a-b+1;1-x)\,. $$ However, I am interested in the analogous expression for the sum (or, the ''real part''), again for $x>1$, $$ \mathbf F(a,b;c;x+i0)+\mathbf F(a,b;c;x-i0)=\,? $$ I tried plugging specific values of this into mathematica, in particular for integer $D>2$, which yields $$ \mathbf F\left(\tfrac{D-1}{2},\tfrac{D}{2};\tfrac{D+1}{2};x+i0\right) + \mathbf F\left(\tfrac{D-1}{2},\tfrac{D}{2};\tfrac{D+1}{2};x-i0\right)$$ $$= (1+(-1)^D)\mathbf F\left(\tfrac{D-1}{2},\tfrac{D}{2};\tfrac{D+1}{2};x\right) + \tfrac{2i^{D+1}\pi^{3/2}x^{-\tfrac{D-1}{2}}}{\cos\left(\tfrac{D\pi}{2}\right)\Gamma\left(\frac{D-3}{2}\right)\Gamma\left(\tfrac{D-1}{2}\right)\Gamma\left(\tfrac{D}{2}\right)}\,. $$ This makes perfect sense when $D$ is odd, since then the right-hand side reads $$ 2\sqrt{\pi}(-1)^{\frac{D-1}{2}} \frac{x^{-\frac{D-1}{2}}}{\Gamma\left(\frac{D-1}{2}\right)\Gamma\left(\frac{D}{2}\right)}\,, $$ however, it doesn't make much sense to me for even $D$, since then the right-hand side seems to still have a nonzero imaginary part.
Is there a general expression analogous to that provided for the difference by DLMF, but expressing the sum across the branch cut?