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