If f(x) = sin x – cos 2x + 2x – [2x], where [ ] denotes greatest integer function, then f(x) is
(A) a periodic function with period $\displaystyle \pi $
(B) a periodic function with period $\displaystyle 2\pi $
(C) a periodic function with period 1
(D) not a periodic function