divmodw
@algorandfoundation/algorand-typescript
@algorandfoundation/algorand-typescript / op / divmodw
Function: divmodw()
divmodw(
a
,b
,c
,d
): readonly [uint64
,uint64
,uint64
,uint64
]
Defined in: packages/algo-ts/src/op.ts:736
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.
Parameters
a
b
c
d
Returns
readonly [uint64
, uint64
, uint64
, uint64
]
See
Native TEAL opcode: divmodw
Min AVM version: 4