If the number is negative, the result is -1. If the number is zero, the result is 0. If the number is positive, the result is +1.