RFR: 8077587: BigInteger Roots [v23]
fabioromano1
duke at openjdk.org
Thu Jul 31 13:43:04 UTC 2025
On Thu, 31 Jul 2025 13:02:06 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:
>> The integers are closed under positive powers, and not under positive nthRoots, this is true. However, the problem remains, as if the root degree `n` is negative, then for radicands that are not 1, -1 or 0 we should return 0, and zero raised to a negative exponent is undefined in real numbers, and so the remainder is.
>
> @fabioromano1 Let me know when your changes settle down and the code is ready for another review round. I'd prefer to aim at a fixed rather than a quickly moving target ;-)
@rgiulietti I think I'm not going to do other changes for now.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24898#issuecomment-3140021363
More information about the core-libs-dev
mailing list