RFR: 8366478: BigDecimal roots [v9]

fabioromano1 duke at openjdk.org
Fri Oct 24 17:26:07 UTC 2025


On Fri, 24 Oct 2025 17:03:37 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

> For n > 0 the spec speaks about 0.5 ulp and 1 ulp, but not about correct rounding, which is slightly more restrictive, as it includes a direction (up, down, to-even, etc.).

The statement "with rounding according to the context settings" together with the errors 0.5 ulp and 1 ulp seem to imply a correct rounding, am I wrong?

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

PR Comment: https://git.openjdk.org/jdk/pull/27148#issuecomment-3444177962


More information about the core-libs-dev mailing list