Skip to content

expw

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / op / expw

Function: expw()

expw(a, b): readonly [uint64, uint64]

Defined in: packages/algo-ts/src/op.ts:886

A raised to the Bth power as a 128-bit result in two uint64s. X is the high 64 bits, Y is the low. Fail if A == B == 0 or if the results exceeds 2^128-1

Parameters

a

uint64

b

uint64

Returns

readonly [uint64, uint64]

See

Native TEAL opcode: expw Min AVM version: 4