Yesterday, nobody contributed anything. :-(
The official answer is:
abs(log2(ln(floor(2 * x))))