Method URShift
URShift(Int32, Int32)
Performs an unsigned bitwise right shift with the specified number
Declaration
public static int URShift(int number, int bits)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | number | Number to operate on |
System.Int32 | bits | Ammount of bits to shift |
Returns
Type | Description |
---|---|
System.Int32 | The resulting number from the shift operation |
URShift(Int64, Int32)
Performs an unsigned bitwise right shift with the specified number
Declaration
public static long URShift(long number, int bits)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | number | Number to operate on |
System.Int32 | bits | Ammount of bits to shift |
Returns
Type | Description |
---|---|
System.Int64 | The resulting number from the shift operation |