RFR: 8077587: BigInteger Roots [v6]

fabioromano1 duke at openjdk.org
Wed May 14 18:16:58 UTC 2025


On Wed, 14 May 2025 17:59:59 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

> I guess this work will be the basis for a future work on `BigDecimal` _n_-th root?

@rgiulietti Yes, it is. Some use cases could be primality testing, like AKS, where part of the algorithm detect composite numbers by checking whether an integer is an exact power or not.

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

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


More information about the core-libs-dev mailing list