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