Counting the number of on bits in an integer is a very common thing to want to
do, and even exists in BigInteger, but it is package private. Sure would be
nice if this was public and moved to Integer, or perhaps Math.
do, and even exists in BigInteger, but it is package private. Sure would be
nice if this was public and moved to Integer, or perhaps Math.
- duplicates
-
JDK-4495754 Add library support for common bit manipulation operations
-
- Resolved
-