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