docs.unity.cn
    Show / Hide Table of Contents

    Method asulong

    asulong(Int64)

    Returns the bit pattern of a long as a ulong.

    Declaration
    public static ulong asulong(long x)
    Parameters
    Type Name Description
    Int64 x

    The long bits to copy.

    Returns
    Type Description
    UInt64

    The ulong with the same bit pattern as the input.

    asulong(Double)

    Returns the bit pattern of a double as a ulong.

    Declaration
    public static ulong asulong(double x)
    Parameters
    Type Name Description
    Double x

    The double bits to copy.

    Returns
    Type Description
    UInt64

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