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