Yesterday, nobody contributed anything. :-(
The official answer is:
-sin(floor(-x) ^ 2)