The distance between the general Poisson summation formula and that for bandlimited functions; applications to quadrature formulae