docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method asulong

    asulong(long)

    Returns the bit pattern of a long as a ulong.

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

    The long bits to copy.

    Returns
    Type Description
    ulong

    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
    ulong

    The ulong with the same bit pattern as the input.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)