Skip to content

divmodw

divmodw(a, b, c, d): DivmodwOutput

Get AB / CD and AB % CD with the result for both being 128 bits split across two uint64s

Parameters

a: uint64

The numerator high bits

b: uint64

The numerator low bits

c: uint64

The denominator high bits

d: uint64

The denominator low bits

Returns

DivmodwOutput

Source

types/global.d.ts:1534