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