DivRem()
Contents
[
Hide
]Math::DivRem(int, int, int&) method
Calculates the quotient of two 32-bit integers and the remainder.
static int System::Math::DivRem(int a, int b, int &result)
Arguments
Parameter | Type | Description |
---|---|---|
a | int | The dividend |
b | int | The divisor |
result | int& | The output parameter that contains the remainder resulting from division of a by b |
Return Value
The quoting of a and b
Math::DivRem(int64_t, int64_t, int64_t&) method
Calculates the quotient of two 64-bit integers and the remainder.
static int64_t System::Math::DivRem(int64_t a, int64_t b, int64_t &result)
Arguments
Parameter | Type | Description |
---|---|---|
a | int64_t | The dividend |
b | int64_t | The divisor |
result | int64_t& | The output parameter that contains the remainder resulting from division of a by b |
Return Value
The quoting of a and b
See Also
- Struct Math
- Namespace System
- Library Aspose.Slides