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