• Counts set bits in a number using Kernighan's algorithm

    Parameters

    • a: number

      input number

    Returns number

    number of bits=1

Generated using TypeDoc