The function outputs 1 or -1, switching between the two values within specific intervals of the input domain.

