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