Method mul
mul()
Multiplies the first two values on top of the stack and replaces them with the result.
Declaration
public void mul()
mul(Int32, Int32)
Multiplies 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 mul(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. |
mul(UInt32, UInt32)
Multiplies 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 mul(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.
mul(UInt32)
Multiplies the value at index a as absolute index in the stack
and the value on top of the stack.
Replaces the value on top of the stack with the result.
Declaration
public void mul(uint a)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt32 | a | Absolute index of a stack entry. |
Remarks
see: mark() for absolute indices.
mul(BigRational)
Multiplies value a and the value on top of the stack.
Replaces the value on top of the stack with the result.
Declaration
public void mul(BigRational a)
Parameters
| Type | Name | Description |
|---|---|---|
| BigRational | a | A BigRational value. |
mul(BigRational, UInt32)
Multiplies the value a and the value at b as absolute index in the stack
and pushes the result on the stack.
Declaration
public void mul(BigRational a, uint b)
Parameters
| Type | Name | Description |
|---|---|---|
| BigRational | a | A BigRational as first value. |
| System.UInt32 | b | Absolute index of a stack entry as second value. |
Remarks
see: mark() for absolute indices.
mul(BigRational, BigRational)
Multiplies the values a and b and pushes the result on the stack.
Declaration
public void mul(BigRational a, BigRational b)
Parameters
| Type | Name | Description |
|---|---|---|
| BigRational | a | A BigRational as first value. |
| BigRational | b | A BigRational as second value. |