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