Function modp

  • Find the remainder of x/y with +ve sign (euclidean division).

    Returns

    x/y>0: floor(x % y), x/y<0: ceil(x % y)

    Parameters

    • x: bigint

      dividend

    • y: bigint

      divisor

    Returns bigint

Generated using TypeDoc