Compartir a través de


Integer.DivideUnsigned(Int32, Int32) Method

Definition

Returns the unsigned quotient of dividing the first argument by the second where each argument and the result is interpreted as an unsigned value.

[Android.Runtime.Register("divideUnsigned", "(II)I", "", ApiSince=26)]
public static int DivideUnsigned (int dividend, int divisor);
[<Android.Runtime.Register("divideUnsigned", "(II)I", "", ApiSince=26)>]
static member DivideUnsigned : int * int -> int

Parameters

dividend
Int32

the value to be divided

divisor
Int32

the value doing the dividing

Returns

the unsigned quotient of the first argument divided by the second argument

Attributes

Remarks

Returns the unsigned quotient of dividing the first argument by the second where each argument and the result is interpreted as an unsigned value.

Note that in two's complement arithmetic, the three other basic arithmetic operations of add, subtract, and multiply are bit-wise identical if the two operands are regarded as both being signed or both being unsigned. Therefore separate addUnsigned, etc. methods are not provided.

Added in 1.8.

Java documentation for java.lang.Integer.divideUnsigned(int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to