RFR: 8370057: Correct scale handling of BigDecimal.sqrt
Joe Darcy
darcy at openjdk.org
Mon Oct 20 15:02:08 UTC 2025
On Mon, 20 Oct 2025 12:54:44 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:
> 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?
Yes; that comment still describes the alternative algorithm used in the test.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27882#issuecomment-3422461103
More information about the core-libs-dev
mailing list