The function f(x) returns 1 for negative inputs and -1 for positive inputs. When x is 0, the function returns -1. 

