Sgn
From WikiManual
Operators:
Basic Commands: |
Operators:
Basic Commands: |
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.
Basic Commands: |
Basic Commands: |
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.