The function takes a numerical input and multiplies it by either -1 or 1, depending on the sign of the input.

