Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


umul128(ulong, ulong, out ulong)

Return the low half of the multiplication of two numbers, and the high part as an out parameter.
Read time 1 minuteLast updated 14 days ago

Definition

umul128(ulong, ulong, ulong)

public static ulong umul128(ulong x, ulong y, out ulong high)

Parameters

A value to multiply.

A value to multiply.

high

The high-half of the multiplication result.

Returns

Type

Description

ulongThe low-half of the multiplication result.