BigInteger and MutableBigInteger implement and use some of the bit-twiddling methods themselves. From a maintainability and performance point-of-view these classes should use the provided Integer methods, like bitCount, numberOfLeadingZeros, etc.
- duplicates
-
JDK-6622432 RFE: Performance improvements to java.math.BigDecimal
- Resolved
- relates to
-
JDK-6823354 Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
- Closed