Function modp

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

    Returns

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

    Parameters

    • x: number

      dividend

    • y: number

      divisor

    Returns number

Generated using TypeDoc