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