Based on the experiments, it seems like the function f(x) is a step function that returns -1 for negative values of x and 1 for positive values of x. The only exception is when x is exactly 0, where the function also returns -1.

