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