• Performs a bitwise right shift on a bigint scalar value. This operation is equivalent to dividing by 2^n, but it operates directly on the binary representation, making it efficient for certain types of calculations.

    Parameters

    • a: bigint

      The bigint scalar value to shift.

    • n: bigint

      The number of bits to shift 'a' by.

    Returns bigint

    The result of shifting 'a' right by 'n' bits.