The function returns 1 for negative input values and -1 for positive input values.

