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