docs.unity3d.com
    Show / Hide Table of Contents

    Method umul128

    umul128(UInt64, UInt64, out UInt64)

    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
    UInt64 x

    A value to multiply.

    UInt64 y

    A value to multiply.

    UInt64 high

    The high-half of the multiplication result.

    Returns
    Type Description
    UInt64

    The low-half of the multiplication result.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023