The function takes a single numerical input and either adds or subtracts it, depending on the sign of the input.

[DO