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