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