Method asdouble
asdouble(Int64)
Returns the bit pattern of a long as a double.
Declaration
public static double asdouble(long x)
Parameters
| Type | Name | Description |
|---|---|---|
| Int64 | x | The long bits to copy. |
Returns
| Type | Description |
|---|---|
| Double | The double with the same bit pattern as the input. |
asdouble(UInt64)
Returns the bit pattern of a ulong as a double.
Declaration
public static double asdouble(ulong x)
Parameters
| Type | Name | Description |
|---|---|---|
| UInt64 | x | The ulong bits to copy. |
Returns
| Type | Description |
|---|---|
| Double | The double with the same bit pattern as the input. |