Method asulong
asulong(Int64)
Returns the bit pattern of a long as a ulong.
Declaration
public static ulong asulong(long x)
Parameters
Type | Name | Description |
---|---|---|
Int64 | x | The long bits to copy. |
Returns
Type | Description |
---|---|
UInt64 | 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 |
---|---|
UInt64 | The ulong with the same bit pattern as the input. |