The function takes a numerical input and returns a value that is either 0.0, -0.5, or a large positive value depending on the input.

