RFR: JDK-8302040: Port fdlibm sqrt to Java

Joe Darcy darcy at openjdk.org
Fri Feb 24 01:39:05 UTC 2023


On Thu, 23 Feb 2023 23:28:11 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> The wheel of FDLIBM porting turns a notch and sqrt comes into play.
> 
> While the sqrt operation usually has a hardware implementation that is intrinsified, for completeness a software implementation should be available as well.

src/java.base/share/classes/java/lang/FdLibm.java line 696:

> 694:     // The following comment is supplementary information from the FDLIBM sources.
> 695: 
> 696:     /*

I didn't think it was necessary to preserve this supplemental information in both the transliteration port and the mainline sources.

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

PR: https://git.openjdk.org/jdk/pull/12736


More information about the core-libs-dev mailing list