Method mod
mod(Int32)
Pops the value at the top of the stack.
Divides the numerator by the denominator and
pushes the remainder and the quotient as integer values on the stack.
Declaration
public void mod(int f = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | f | A System.Int32flags see remarks. |
Remarks
0 quotient truncated towards zero.
1 quotient rounded away from zero.
2 quotient rounded to even.
4 quotient ceiling.
8 skip division, numerator and denominator remaining on stack.