docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method aslong

    aslong(ulong)

    Returns the bit pattern of a ulong as a long.

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

    The ulong bits to copy.

    Returns
    Type Description
    long

    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
    long

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