Langue

StrictMath.UnsignedMultiplyExact Method

Definition

Overloads

Name Description
UnsignedMultiplyExact(Int32, Int32)

Returns the product of the unsigned arguments, throwing an exception if the result overflows an unsigned int.

UnsignedMultiplyExact(Int64, Int32)

Returns the product of the unsigned arguments, throwing an exception if the result overflows an unsigned long.

UnsignedMultiplyExact(Int64, Int64)

Returns the product of the unsigned arguments, throwing an exception if the result overflows an unsigned long.

UnsignedMultiplyExact(Int32, Int32)

Returns the product of the unsigned arguments, throwing an exception if the result overflows an unsigned int.

[Android.Runtime.Register("unsignedMultiplyExact", "(II)I", "", ApiSince=37)]
public static int UnsignedMultiplyExact(int x, int y);
[<Android.Runtime.Register("unsignedMultiplyExact", "(II)I", "", ApiSince=37)>]
static member UnsignedMultiplyExact : int * int -> int

Parameters

x
Int32

the first unsigned value

y
Int32

the second unsigned value

Returns

the result

Attributes

Applies to

UnsignedMultiplyExact(Int64, Int32)

Returns the product of the unsigned arguments, throwing an exception if the result overflows an unsigned long.

[Android.Runtime.Register("unsignedMultiplyExact", "(JI)J", "", ApiSince=37)]
public static long UnsignedMultiplyExact(long x, int y);
[<Android.Runtime.Register("unsignedMultiplyExact", "(JI)J", "", ApiSince=37)>]
static member UnsignedMultiplyExact : int64 * int -> int64

Parameters

x
Int64

the first unsigned value

y
Int32

the second unsigned value

Returns

the result

Attributes

Applies to

UnsignedMultiplyExact(Int64, Int64)

Returns the product of the unsigned arguments, throwing an exception if the result overflows an unsigned long.

[Android.Runtime.Register("unsignedMultiplyExact", "(JJ)J", "", ApiSince=37)]
public static long UnsignedMultiplyExact(long x, long y);
[<Android.Runtime.Register("unsignedMultiplyExact", "(JJ)J", "", ApiSince=37)>]
static member UnsignedMultiplyExact : int64 * int64 -> int64

Parameters

x
Int64

the first unsigned value

y
Int64

the second unsigned value

Returns

the result

Attributes

Applies to