docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method umul128

    umul128(ulong, ulong, out ulong)

    Return the low half of the multiplication of two numbers, and the high part as an out parameter.

    Declaration
    public static ulong umul128(ulong x, ulong y, out ulong high)
    Parameters
    Type Name Description
    ulong x

    A value to multiply.

    ulong y

    A value to multiply.

    ulong high

    The high-half of the multiplication result.

    Returns
    Type Description
    ulong

    The low-half of the multiplication result.

    In This Article
    Back to top
    Copyright © 2025 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)