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. |