There are ways to approximate a sum through integration like the Euler–Maclaurin formula, which requires the function $f(x)$ to be continuous, but there are several ways to extend the formula to functions with singularities:
- Buchheit and Keßler - Singular Euler–Maclaurin expansion (See also their post at the Wolfram Blog: The singular Euler–Maclaurin expansion)
- Waterman, Yos, and Abodeely - Numerical Integration of Non-analytic Functions.
For me, it's not clear if the mentioned rules are acceptable and if not, what happens with the approximation after the application of the formula to the following functions, if one (or more) of the points in the sum are points of discontinuity for a given function (assuming $f$ is continuous):
- $\Gamma(x)$
- $\ln\Gamma(x)$
- $\ln(f(x))$
- $\dfrac{1}{f(x)^2}$
The other question is: is it possible to determine if there is a point of singularity in a sum, for example, $\sum_{a}^{b}\ln(f(x))$, without computing the sum componentwise?