mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-15 13:49:42 +02:00
Refine comment
This commit is contained in:
parent
ec4f7c1b9a
commit
908b6915b1
1 changed files with 2 additions and 1 deletions
|
@ -2046,7 +2046,8 @@ class MutableBigInteger {
|
|||
// Since rad <= 2^(bitLength - sh), then
|
||||
// wrongBits <= ((bitLength - sh + 1) - Double.PRECISION) / n,
|
||||
// so wrongBits is less than ((bitLength - sh) - 1) / n + 1,
|
||||
// the bit length of the exact shifted root, hence rootSh < rootLen
|
||||
// the bit length of the exact shifted root,
|
||||
// hence wrongBits + rootSh < (((bitLength - sh) - 1) / n + 1) + rootSh == rootLen
|
||||
rootSh += wrongBits;
|
||||
approx = Math.scalb(approx, -wrongBits);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue