The function takes a numerical input and multiplies it by a certain number of times depending on whether the input is positive or negative.

