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