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