Skip to content

Add population count (number or 1 bits) function to int or int32-int64 #5798

Closed
@DartBot

Description

@DartBot

This issue was originally filed by @ahmetaa


This is a minor request. There are cases we need to count 1 bits in an integer. Something like:
http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html#bitCount(int)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onarea-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.core-ntype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions