Method asdouble
asdouble(long)
Returns the bit pattern of a long as a double.
Declaration
public static double asdouble(long x)
Parameters
Type | Name | Description |
---|---|---|
long | x | 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.
Declaration
public static double asdouble(ulong x)
Parameters
Type | Name | Description |
---|---|---|
ulong | x | The ulong bits to copy. |
Returns
Type | Description |
---|---|
double | The double with the same bit pattern as the input. |