Sgn

From WikiManual
Revision as of 16:38, 18 October 2006 by Anonomous Guest Person (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Operators:

Basic Commands:

add & sub
mult & div
rnd
*
mod
sgn
abs

Sign Operator UNARY

Returns the sign of the value on the stack. 1 if positive, -1 if negative. 0 seems to return 0.