Table of Contents

Method BigMulHigh

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

BigMulHigh(long, long)

Computes the product of two signed 64-bit numbers and returns the higher 64 bits (计算两个有符号 64 位数的乘积,并返回较高的64位).

public static long BigMulHigh(long a, long b)

Parameters

a long

The first number to multiply (要相乘的第一个数).

b long

The second number to multiply (要相乘的第二个数).

Returns

long

The high 64-bit of the product of the specified numbers (指定数字乘积的高 64 位).

BigMulHigh(ulong, ulong)

Computes the product of two unsigned 64-bit numbers and returns the higher 64 bits (计算两个无符号 64 位数的乘积,并返回较高的64位).

[CLSCompliant(false)]
public static ulong BigMulHigh(ulong u, ulong v)

Parameters

u ulong

The first number to multiply (要相乘的第一个数).

v ulong

The second number to multiply (要相乘的第二个数).

Returns

ulong

The high 64-bit of the product of the specified numbers (指定数字乘积的高 64 位).