RFR: 8355719: Reduce memory consumption of BigInteger.pow() [v51]
fabioromano1
duke at openjdk.org
Wed May 7 16:03:18 UTC 2025
On Wed, 7 May 2025 15:46:16 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:
> Did you make sure that the existing tests also cover the `unsignedLongPow()` sufficiently well?
@rgiulietti There are already the tests for `BigInteger`'s [pow](https://github.com/fabioromano1/jdk/blob/BigInteger-nth-root/test/jdk/java/math/BigInteger/BigIntegerTest.java#L219), since the code of `unsignedLongPow()` is basically equivalent to that one in the current implementation.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24690#issuecomment-2859155908
More information about the core-libs-dev
mailing list