On Mon, 19 May 2025 17:34:16 GMT, Raffaello Giulietti <rgiulie...@openjdk.org> wrote:
>> Yes, but perhaps in the current version it's more clear what is the returned >> value according to the condition. > > One could see the suggested variant as "return magBitLength(), except for a > corrective term in case blah blah..." Moreover, the current version avoids a subtraction in almost all cases, although probably it is negligible. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25166#discussion_r2096217698