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