Method asulong
asulong(long)
Returns the bit pattern of a long as a ulong.
Declaration
public static ulong asulong(long x)
Parameters
Type | Name | Description |
---|---|---|
long | x | The long bits to copy. |
Returns
Type | Description |
---|---|
ulong | The ulong with the same bit pattern as the input. |
asulong(double)
Returns the bit pattern of a double as a ulong.
Declaration
public static ulong asulong(double x)
Parameters
Type | Name | Description |
---|---|---|
double | x | The double bits to copy. |
Returns
Type | Description |
---|---|
ulong | The ulong with the same bit pattern as the input. |