The function returns 1 for most negative inputs and -1 for most positive inputs. There are exceptions where positive numbers close to multiples of 50 and negative numbers close to multiples of 100 return -1 and 1, respectively.

