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