RFR: 8077587: BigInteger Roots [v19]

fabioromano1 duke at openjdk.org
Fri Jul 11 14:41:59 UTC 2025


> This PR implements nth root computation for BigIntegers using Newton method.

fabioromano1 has updated the pull request incrementally with one additional commit since the last revision:

  Optimize the computation of the input's shift
  
  Optimize the computation of the input's shift, in order to avoid having more non-significant bits than necessary in the initial estimate.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24898/files
  - new: https://git.openjdk.org/jdk/pull/24898/files/788a82b9..6dcd6792

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24898&range=18
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24898&range=17-18

  Stats: 18 lines in 1 file changed: 8 ins; 0 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/24898.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24898/head:pull/24898

PR: https://git.openjdk.org/jdk/pull/24898


More information about the core-libs-dev mailing list