Method reversebits
reversebits(Int32)
Returns the result of performing a reversal of the bit pattern of an int value.
Declaration
public static int reversebits(int x)
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | Value to reverse. |
Returns
Type | Description |
---|---|
Int32 | Value with reversed bits. |
reversebits(int2)
Returns the result of performing a componentwise reversal of the bit pattern of an int2 vector.
Declaration
public static int2 reversebits(int2 x)
Parameters
Type | Name | Description |
---|---|---|
int2 | x | Value to reverse. |
Returns
Type | Description |
---|---|
int2 | Value with componentwise reversed bits. |
reversebits(int3)
Returns the result of performing a componentwise reversal of the bit pattern of an int3 vector.
Declaration
public static int3 reversebits(int3 x)
Parameters
Type | Name | Description |
---|---|---|
int3 | x | Value to reverse. |
Returns
Type | Description |
---|---|
int3 | Value with componentwise reversed bits. |
reversebits(int4)
Returns the result of performing a componentwise reversal of the bit pattern of an int4 vector.
Declaration
public static int4 reversebits(int4 x)
Parameters
Type | Name | Description |
---|---|---|
int4 | x | Value to reverse. |
Returns
Type | Description |
---|---|
int4 | Value with componentwise reversed bits. |
reversebits(UInt32)
Returns the result of performing a reversal of the bit pattern of a uint value.
Declaration
public static uint reversebits(uint x)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | x | Value to reverse. |
Returns
Type | Description |
---|---|
UInt32 | Value with reversed bits. |
reversebits(uint2)
Returns the result of performing a componentwise reversal of the bit pattern of an uint2 vector.
Declaration
public static uint2 reversebits(uint2 x)
Parameters
Type | Name | Description |
---|---|---|
uint2 | x | Value to reverse. |
Returns
Type | Description |
---|---|
uint2 | Value with componentwise reversed bits. |
reversebits(uint3)
Returns the result of performing a componentwise reversal of the bit pattern of an uint3 vector.
Declaration
public static uint3 reversebits(uint3 x)
Parameters
Type | Name | Description |
---|---|---|
uint3 | x | Value to reverse. |
Returns
Type | Description |
---|---|
uint3 | Value with componentwise reversed bits. |
reversebits(uint4)
Returns the result of performing a componentwise reversal of the bit pattern of an uint4 vector.
Declaration
public static uint4 reversebits(uint4 x)
Parameters
Type | Name | Description |
---|---|---|
uint4 | x | Value to reverse. |
Returns
Type | Description |
---|---|
uint4 | Value with componentwise reversed bits. |
reversebits(Int64)
Returns the result of performing a reversal of the bit pattern of a long value.
Declaration
public static long reversebits(long x)
Parameters
Type | Name | Description |
---|---|---|
Int64 | x | Value to reverse. |
Returns
Type | Description |
---|---|
Int64 | Value with reversed bits. |
reversebits(UInt64)
Returns the result of performing a reversal of the bit pattern of a ulong value.
Declaration
public static ulong reversebits(ulong x)
Parameters
Type | Name | Description |
---|---|---|
UInt64 | x | Value to reverse. |
Returns
Type | Description |
---|---|
UInt64 | Value with reversed bits. |