RFR: 8077587: BigInteger Roots [v36]

fabioromano1 duke at openjdk.org
Wed Jul 23 11:41:52 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:

  Ensure an initial overestimate of the root
  
  Ensure an initial overestimate of the root, using Math.exp() and Math.log(), whose error is guaranteed to be less than 1 ulp.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24898/files
  - new: https://git.openjdk.org/jdk/pull/24898/files/a98f91c3..b0542837

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

  Stats: 9 lines in 1 file changed: 6 ins; 1 del; 2 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