Function modp

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

    Parameters

    • x: number

      dividend

    • y: number

      divisor

    Returns number

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

Generated using TypeDoc