xen-dev-utils
    Preparing search index...

    Function mmod

    • Mathematically correct modulo.

      Parameters

      • a: number

        The dividend.

      • b: number

        The divisor.

      Returns number

      The remainder of Euclidean division of a by b.

    • Mathematically correct modulo.

      Parameters

      • a: bigint

        The dividend.

      • b: bigint

        The divisor.

      Returns bigint

      The remainder of Euclidean division of a by b.