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