RFR: 8362376: Use @Stable annotation in Java FDLIBM implementation [v3]

Andrey Turbanov aturbanov at openjdk.org
Tue Jul 22 11:03:26 UTC 2025


On Thu, 17 Jul 2025 21:40:13 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> Add `@Stable` to the static final arrays used in the Java port of FDLIBM.
>
> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Implement review feedback.

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

> 2261:                 // final double DP_H[]  = {0.0,
> 2262:                 //                        0x1.2b80_34p-1};        // 5.84962487220764160156e-01
> 2263:                 final double DP_H1   = 0x1.2b80_34p-1;

Suggestion:

                final double DP_H1 = 0x1.2b80_34p-1;

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26341#discussion_r2222176314


More information about the core-libs-dev mailing list