RFR: 8077587: BigInteger Roots [v5]
fabioromano1
duke at openjdk.org
Sat May 10 11:53:38 UTC 2025
> This PR implements nth root computation for BigIntegers using Newton method.
fabioromano1 has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 44 commits:
- Merge branch 'openjdk:master' into nth-root-branch
- Update to resolve conflicts
- An optimization
- Correct unsigned division
- Correct typo in comment
- No need to avoid overflow
- Merge branch 'openjdk:master' into BigInteger-nth-root
- Optimized nth root iteration loop
- Systematization of special cases in BigInteger.pow(int)
- Some optimizations
- ... and 34 more: https://git.openjdk.org/jdk/compare/fa7c5a65...4729a468
-------------
Changes: https://git.openjdk.org/jdk/pull/24898/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24898&range=04
Stats: 136 lines in 1 file changed: 136 ins; 0 del; 0 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