docs.unity.cn
    Show / Hide Table of Contents

    Method aslong

    aslong(UInt64)

    Returns the bit pattern of a ulong as a long.

    Declaration
    public static long aslong(ulong x)
    Parameters
    Type Name Description
    UInt64 x

    The ulong bits to copy.

    Returns
    Type Description
    Int64

    The long with the same bit pattern as the input.

    aslong(Double)

    Returns the bit pattern of a double as a long.

    Declaration
    public static long aslong(double x)
    Parameters
    Type Name Description
    Double x

    The double bits to copy.

    Returns
    Type Description
    Int64

    The long 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