Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
These methods can be instrinsified by using bit scan, bit test, and population count instructions. It seems it's not worth to instrinsify lowestOneBit() too, as it already boilds down to about 2 or 3 machine instructions. Some of these methods can be used in BigInteger and maybe other classes in the JDK. I removed highestOneBit from that CR as it's not clear the benefit is worth the changes. I might open another one in the future.
|