Divides one Int128 value by another, using signed integer division, and returns the result and the remainder.

Namespace: SharpAssembler.Core
Assembly: SharpAssembler Core (in SharpAssembler Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static Int128 DivRem(
	Int128 dividend,
	Int128 divisor,
	out Int128 remainder
)
Visual Basic
Public Shared Function DivRem ( _
	dividend As Int128, _
	divisor As Int128, _
	<OutAttribute> ByRef remainder As Int128 _
) As Int128
Visual C++
public:
static Int128 DivRem(
	Int128 dividend, 
	Int128 divisor, 
	[OutAttribute] Int128% remainder
)

Parameters

dividend
Type: SharpAssembler.Core..::..Int128
The value to be divided.
divisor
Type: SharpAssembler.Core..::..Int128
The value to divide by.
remainder
Type: SharpAssembler.Core..::..Int128%
The remainder from the division.

Return Value

The quotient of the division.

Exceptions

ExceptionCondition
System..::..DivideByZeroExceptiondivisor == 0

Contracts

See Also