This thesis is concerned with the development of the singular Euler–Maclaurin expansion, a novel method that allows for the efficient evaluation of large sums over values of functions with singularities. The method offers an approximation to the sum whose runtime is independent of the number of summands and whose error falls of exponentially with the expansion order. Hereby, a powerful numerical tool is provided whose applications range from fast multidimensional summation methods in numerical analysis over the analysis of long-range interactions in condensed matter systems to the evaluation of partition functions in quantum physics. The numerical performance of the new method is demonstrated by precisely computing the forces in a topological defect in a one-dimensional chain of long-range interacting particles. Furthermore, prototypical sums in an infinite two-dimensional lattice are efficiently evaluated. In the derivation of the multidimensional expansion, a deep connection between our new method to analytical number theory is revealed. This connection provides tools for the efficient computation of the operator coefficients that appear in the expansion. On the other hand, the expansion yields new globally convergent representations of the Riemann zeta function and its generalisation to higher dimensions.