Table of Contents

Method GetMostSignificantBit

Namespace
Zyl.VectorTraits.Numerics
Assembly
VectorTraits.dll

GetMostSignificantBit(float)

Get the most significant bit (取得最高有效位). Mnemonic: rt := src >>> (sizeof(T)*8-1).

[CLSCompliant(false)]
public static uint GetMostSignificantBit(float src)

Parameters

src float

Source value (源值).

Returns

uint

The most significant bit (最高有效位).

GetMostSignificantBit(double)

Get the most significant bit (取得最高有效位). Mnemonic: rt := src >>> (sizeof(T)*8-1).

[CLSCompliant(false)]
public static uint GetMostSignificantBit(double src)

Parameters

src double

Source value (源值).

Returns

uint

The most significant bit (最高有效位).

GetMostSignificantBit(sbyte)

Get the most significant bit (取得最高有效位). Mnemonic: rt := src >>> (sizeof(T)*8-1).

[CLSCompliant(false)]
public static uint GetMostSignificantBit(sbyte src)

Parameters

src sbyte

Source value (源值).

Returns

uint

The most significant bit (最高有效位).

GetMostSignificantBit(byte)

Get the most significant bit (取得最高有效位). Mnemonic: rt := src >>> (sizeof(T)*8-1).

[CLSCompliant(false)]
public static uint GetMostSignificantBit(byte src)

Parameters

src byte

Source value (源值).

Returns

uint

The most significant bit (最高有效位).

GetMostSignificantBit(short)

Get the most significant bit (取得最高有效位). Mnemonic: rt := src >>> (sizeof(T)*8-1).

[CLSCompliant(false)]
public static uint GetMostSignificantBit(short src)

Parameters

src short

Source value (源值).

Returns

uint

The most significant bit (最高有效位).

GetMostSignificantBit(ushort)

Get the most significant bit (取得最高有效位). Mnemonic: rt := src >>> (sizeof(T)*8-1).

[CLSCompliant(false)]
public static uint GetMostSignificantBit(ushort src)

Parameters

src ushort

Source value (源值).

Returns

uint

The most significant bit (最高有效位).

GetMostSignificantBit(int)

Get the most significant bit (取得最高有效位). Mnemonic: rt := src >>> (sizeof(T)*8-1).

[CLSCompliant(false)]
public static uint GetMostSignificantBit(int src)

Parameters

src int

Source value (源值).

Returns

uint

The most significant bit (最高有效位).

GetMostSignificantBit(uint)

Get the most significant bit (取得最高有效位). Mnemonic: rt := src >>> (sizeof(T)*8-1).

[CLSCompliant(false)]
public static uint GetMostSignificantBit(uint src)

Parameters

src uint

Source value (源值).

Returns

uint

The most significant bit (最高有效位).

GetMostSignificantBit(long)

Get the most significant bit (取得最高有效位). Mnemonic: rt := src >>> (sizeof(T)*8-1).

[CLSCompliant(false)]
public static uint GetMostSignificantBit(long src)

Parameters

src long

Source value (源值).

Returns

uint

The most significant bit (最高有效位).

GetMostSignificantBit(ulong)

Get the most significant bit (取得最高有效位). Mnemonic: rt := src >>> (sizeof(T)*8-1).

[CLSCompliant(false)]
public static uint GetMostSignificantBit(ulong src)

Parameters

src ulong

Source value (源值).

Returns

uint

The most significant bit (最高有效位).

GetMostSignificantBit(ExInt128)

Get the most significant bit (取得最高有效位). Mnemonic: rt := src >>> (sizeof(T)*8-1).

[CLSCompliant(false)]
public static uint GetMostSignificantBit(ExInt128 src)

Parameters

src ExInt128

Source value (源值).

Returns

uint

The most significant bit (最高有效位).

GetMostSignificantBit(ExUInt128)

Get the most significant bit (取得最高有效位). Mnemonic: rt := src >>> (sizeof(T)*8-1).

[CLSCompliant(false)]
public static uint GetMostSignificantBit(ExUInt128 src)

Parameters

src ExUInt128

Source value (源值).

Returns

uint

The most significant bit (最高有效位).

GetMostSignificantBit(Int128)

Get the most significant bit (取得最高有效位). Mnemonic: rt := src >>> (sizeof(T)*8-1).

[CLSCompliant(false)]
public static uint GetMostSignificantBit(Int128 src)

Parameters

src Int128

Source value (源值).

Returns

uint

The most significant bit (最高有效位).

GetMostSignificantBit(UInt128)

Get the most significant bit (取得最高有效位). Mnemonic: rt := src >>> (sizeof(T)*8-1).

[CLSCompliant(false)]
public static uint GetMostSignificantBit(UInt128 src)

Parameters

src UInt128

Source value (源值).

Returns

uint

The most significant bit (最高有效位).