RFR: 8077587: BigInteger Roots [v23]

fabioromano1 duke at openjdk.org
Thu Aug 28 18:07:48 UTC 2025


On Thu, 28 Aug 2025 17:04:52 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

>> @rgiulietti I haven't started yet to implement `BigDecimal.nthRoot()` by now.
>
> @fabioromano1 I'm asking because, as discussed in the past, your efforts on this PR would make less sense to integrate in the platform without the `BigDecimal.nthRoot()` going in parallel in the same release (hopefully JDK 26).
> 
> Have you a sense of how much effort would be required for `BigDecimal.nthRoot()`, on a scale XS, S, M, L, XL?

@rgiulietti By feeling, the effort should be no more than small/medium, as it would just be a matter of generalizing the code of `BigDecimal.sqrt()` and taking into account negative root degrees.

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

PR Comment: https://git.openjdk.org/jdk/pull/24898#issuecomment-3234453129


More information about the core-libs-dev mailing list