Function BigSqrt

  • Calculates the approximate square root of a given bigint value.

    Parameters

    • x: bigint

      The bigint value for which to calculate the square root.

    Returns bigint

    The approximate square root of the given value.

    Example

    BigSqrt(9n);     // Returns 3n
    BigSqrt(100n); // Returns 10n

Generated using TypeDoc