The function f(x) doubles the input value for positive integers, and for negative integers, it doubles the absolute value of the input.

