blob: ee1e1f4aa5a98a0d8238a5e4dedb95f1c369ec96 [file] [log] [blame]
SYNOPSIS
int sgn(int|float arg)
DESCRIPTION
Return the sign of the argument.
arg sgn(arg)
--------------
> 0 1
0 0
< 0 -1
HISTORY
Introduced in LDMud 3.2.9.
SEE ALSO
abs(E)