asulong
Returns the bit pattern of a long as a ulong.
읽는 시간 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. |