Residues of partial sums in a class of dependent random variables, including functionals of uniformly recurrent Markov chains, are in the domain of attraction of the uniform distribution. These types of limit theorems arise for example in the multiplication of floating-point numbers.