Yesterday, nobody contributed anything. :-(
The official answer is:
1 / floor(abs(floor(-x)))