xen-dev-utils
    Preparing search index...

    Function modc

    • Ceiling modulo.

      Parameters

      • a: number

        The dividend.

      • b: number

        The divisor.

      Returns number

      The remainder of Euclidean division of a by b where b modc b === b.

    • Ceiling modulo.

      Parameters

      • a: bigint

        The dividend.

      • b: bigint

        The divisor.

      Returns bigint

      The remainder of Euclidean division of a by b where b modc b === b.