RFR: 8356891: Some code simplifications for basic BigIntegers' bit operations

fabioromano1 duke at openjdk.org
Tue May 13 18:02:05 UTC 2025


On Sun, 11 May 2025 16:00:55 GMT, Chen Liang <liach at openjdk.org> wrote:

> This should really be refactored to an instance method `bitLengthUnsigned` or `magBitCount`

I would prefer `magBitLength` as a name, since `bitCount` is usually referred to one's bit count. But before do this, I'd hear the opinion of @rgiulietti about that.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/25166#discussion_r2083563140


More information about the core-libs-dev mailing list