Udostępnij za pośrednictwem


StrictMath.MultiplyHigh(Int64, Int64) Method

Definition

Returns as a long the most significant 64 bits of the 128-bit product of two 64-bit factors.

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

Parameters

x
Int64

the first value

y
Int64

the second value

Returns

the result

Attributes

Remarks

Returns as a long the most significant 64 bits of the 128-bit product of two 64-bit factors.

Added in 9.

Java documentation for java.lang.StrictMath.multiplyHigh(long, long).

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