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
floatSource 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
doubleSource 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
sbyteSource 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
byteSource 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
shortSource 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
ushortSource 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
intSource 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
uintSource 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
longSource 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
ulongSource 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
ExInt128Source 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
ExUInt128Source 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
Int128Source 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
UInt128Source value (源值).
Returns
- uint
The most significant bit (最高有效位).