asulong
Returns the bit pattern of a long as a ulong.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
asulong(long)
Returns the bit pattern of a long as a ulong.
public static ulong asulong(long x)
Parameters
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.
public static ulong asulong(double x)
Parameters
The double bits to copy.
Returns
Type | Description |
|---|---|
| ulong | The ulong with the same bit pattern as the input. |