From the NannyMUD documentation

LAST CHANGE

2000-12-19

FUNCTION


NAME

        sgn - The sign of a number.

SYNTAX

        int sgn(int arg)

DESCRIPTION

        This simulated efun returns -1 if the argument is less than zero, zero
        if the argument is zero and 1 else.