Asymptotic distributions associated to piecewise quasi-polynomials