The function outputs -2.9 for negative input values and outputs 1.5 for non-negative input values.

