On Fri, 11 Jul 2025 18:07:31 GMT, fabioromano1 <d...@openjdk.org> wrote:

>> This PR implements nth root computation for BigIntegers using Newton method.
>
> fabioromano1 has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Avoid to discard fraction bits in the initial estimate

The current explanation for the exception of negative `n` is justified by 
consistency with the explanation for negative `exponent` in 
`BigInteger.pow(int)`, so changing this explanation would cause an 
inconsistency in the documentation of `BigInteger` operations.

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

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

Reply via email to