docs.unity.cn
    Show / Hide Table of Contents

    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.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, March 29, 2022
    Terms of use