# countOneBits

`@ExperimentalUnsignedTypes fun UInt.countOneBits(): Int`

Counts the number of set bits in the binary representation of this UInt number.

`@ExperimentalUnsignedTypes fun ULong.countOneBits(): Int`

Counts the number of set bits in the binary representation of this ULong number.

`@ExperimentalUnsignedTypes fun UByte.countOneBits(): Int`

Counts the number of set bits in the binary representation of this UByte number.

`@ExperimentalUnsignedTypes fun UShort.countOneBits(): Int`

Counts the number of set bits in the binary representation of this UShort number.

Counts the number of set bits in the binary representation of this Int number.

Counts the number of set bits in the binary representation of this Long number.

Counts the number of set bits in the binary representation of this Byte number.

Counts the number of set bits in the binary representation of this Short number.