Method sub
sub()
Subtract the first two values on top of the stack and replaces them with the result.
Declaration
public void sub()
Remarks
a - b where b is the value on top of the stack.
sub(Int32, Int32)
Subtracts the values at index a and b relative to the top of the stack
and replaces the value at index a with the result.
Declaration
public void sub(int a, int b)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | a | Relative index of the first stack entry. |
| System.Int32 | b | Relative index of the second stack entry. |
sub(UInt32, UInt32)
Subtracts the values at index a and b as absolute indices in the stack
and pushes the result on top of the stack.
Declaration
public void sub(uint a, uint b)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt32 | a | Absolute index of a stack entry. |
| System.UInt32 | b | Absolute index of a stack entry. |
Remarks
see: mark() for absolute indices.
sub(BigRational, BigRational)
Subtracts the values a and b and pushes the result on the stack.
Declaration
public void sub(BigRational a, BigRational b)
Parameters
| Type | Name | Description |
|---|---|---|
| BigRational | a | A BigRational as first value. |
| BigRational | b | A BigRational as second value. |