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