文档

Unity Engine

Unity Engine

asdouble

Returns the bit pattern of a long as a double.
阅读时间1 分钟最后更新于 1 个月前

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.