BigIntSqrt extension

Extension to calculate the integer square root of a BigInt.

on

Properties

isPowerOfTwo bool

Available on BigInt, provided by the BigIntSqrt extension

Checks if the BigInt is a power of two.
no setter

Methods

sqrt() BigInt

Available on BigInt, provided by the BigIntSqrt extension

Returns the integer square root of a BigInt.