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