Functions

The following functions are available globally.

  • Returns the integer square root of a big integer; i.e., the largest integer whose square isn’t greater than value.

    Returns

    floor(sqrt(value))

    Declaration

    Swift

    public func sqrt(_ value: BigUInt) -> BigUInt

    Return Value

    floor(sqrt(value))