signum package:ihaskell

Sign of a number. The functions abs and signum should satisfy the law:
abs x * signum x == x
For real numbers, the signum is either -1 (negative), 0 (zero) or 1 (positive).
Return -1, 0, and 1 depending on whether argument is negative, zero, or positive, respectively
Return -1#, 0#, and 1# depending on whether argument is negative, zero, or positive, respectively
Signum for Natural