Sign function

The sign function maps each real number to −1, 0, or 1 according to whether it is negative, zero, or positive.

Connect