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