Method sign
sign(Int32)
Gets a number that indicates the sign of the value at index i relative to the top of the stack.
Default index 0 returns the sign of the value on top of the stack.
Declaration
public int sign(int a = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | a | Relative index of a stack entry. |
Returns
Type | Description |
---|---|
System.Int32 | -1 – value is less than zero. |