• Interprets the low bits of a BigInt as a 2's-complement signed integer. All higher bits are discarded.

    Parameters

    • bits: number

      The number of low bits to use

    • int: bigint

      The BigInt whose bits to extract

    Returns bigint