If you read https://mathoverflow.net/questions/34369/on-the-behaviour-of-sinn-pi-x-when-x-is-irrational carefully, you will be enlightened.