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