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