signum package:integer-gmp

Return -1, 0, and 1 depending on whether argument is negative, zero, or positive, respectively