Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


asdouble

Returns the bit pattern of a long as a double.
Read time 1 minuteLast updated 5 days ago

Definition

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

doubleThe 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

doubleThe double with the same bit pattern as the input.