Skip to content

bsqrt

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / op / bsqrt

Function: bsqrt()

bsqrt(a): biguint

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

The largest integer I such that I^2 <= A. A and I are interpreted as big-endian unsigned integers

Parameters

a

biguint

Returns

biguint

See

Native TEAL opcode: bsqrt Min AVM version: 6