RFR: 8370057: Correct scale handling of BigDecimal.sqrt
Raffaello Giulietti
rgiulietti at openjdk.org
Mon Oct 20 12:57:21 UTC 2025
On Fri, 17 Oct 2025 23:10:30 GMT, Joe Darcy <darcy at openjdk.org> wrote:
> Correct scale handling of BigDecimal.sqrt to conform to IEEE 754.
In the test, starting [here](https://github.com/jddarcy/jdk/blob/2393649538a1fc33801d50c257b4e8dbeb2f821b/test/jdk/java/math/BigDecimal/SquareRootTests.java#L555), there's a comment about an algorithm presented in a paper.
Is it still relevant?
-------------
PR Review: https://git.openjdk.org/jdk/pull/27882#pullrequestreview-3356358011
More information about the core-libs-dev
mailing list