asulong
Returns the bit pattern of a long as a ulong.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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. |