RFR: 8366478: BigDecimal roots [v20]
Joe Darcy
darcy at openjdk.org
Mon Oct 27 04:50:08 UTC 2025
On Sun, 26 Oct 2025 21:05:53 GMT, fabioromano1 <duke at openjdk.org> wrote:
>> An implementation of `BigDecimal.nthRoot(int, MathContext)`.
>
> fabioromano1 has updated the pull request incrementally with one additional commit since the last revision:
>
> Code optimization
src/java.base/share/classes/java/math/BigDecimal.java line 2320:
> 2318: }
> 2319:
> 2320: if (increment)
Per coding conventions, please add {} around `root = root.add(1L)`.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27148#discussion_r2464417970
More information about the core-libs-dev
mailing list