docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method asdouble

    asdouble(long)

    Returns the bit pattern of a long as a double.

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

    The long bits to copy.

    Returns
    Type Description
    double

    The double with the same bit pattern as the input.

    asdouble(ulong)

    Returns the bit pattern of a ulong as a double.

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

    The ulong bits to copy.

    Returns
    Type Description
    double

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