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