The function f(x) reflects the input value x around the origin. For x ≥ 0, f(x) = -x, and for x < 0, f(x) = x.

