The function takes a single numerical input x and returns the input multiplied by -1 if x is negative, and the input multiplied by 1 if x is positive.

