The function swaps the sign of the input.
