sgn

Returns -1, 0, or 1 if the argument is negative, zero, or positive, respectively. The sign of zero is ignored: returns 0 for +0 or -0.

int
sgn
(
D
)
(
in D num
)

Meta