Abel–Plana formula