RFR: 8366478: BigDecimal roots [v4]
fabioromano1
duke at openjdk.org
Fri Oct 17 11:56:06 UTC 2025
On Fri, 17 Oct 2025 11:31:16 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:
> I'm not sure I get your point: how come is`MIN_VALUE` out of `int` range?
`|Integer.MIN_VALUE|` is the absolute value of `Integer.MIN_VALUE`, so `Math.absExact(Integer.MIN_VALUE)` throws an `ArithmeticException`.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27148#discussion_r2439592350
More information about the core-libs-dev
mailing list