Sgn

From WikiManual
Revision as of 17:04, 3 October 2005 by Numsgil (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Sign Operator UNARY

Returns the sign of the value on the stack. 1 if positive, -1 if negative. I do not remember what 0 returns.