Card shuffling and Diophantine approximation