Skip to content

divmodw

Algorand TypeScript


Algorand TypeScript / op / divmodw

divmodw(a, b, c, d): readonly [uint64, uint64, uint64, uint64]

Defined in: op.ts:745

W,X = (A,B / C,D); Y,Z = (A,B modulo C,D) The notation J,K indicates that two uint64 values J and K are interpreted as a uint128 value, with J as the high uint64 and K the low.

uint64

uint64

uint64

uint64

readonly [uint64, uint64, uint64, uint64]

Native TEAL opcode: divmodw Min AVM version: 4