RFR: 8362376: Use @Stable annotation in Java FDLIBM implementation
Raffaello Giulietti
rgiulietti at openjdk.org
Thu Jul 17 18:06:49 UTC 2025
On Wed, 16 Jul 2025 18:51:41 GMT, Joe Darcy <darcy at openjdk.org> wrote:
>> Add `@Stable` to the static final arrays used in the Java port of FDLIBM.
>
> The methods directly affected by this update are atan, exp, and sin, cos, tan. The sin, cos, and tan method are affected by the updates to KernelRemPio2 and tan is also directly affected by its own updates.
@jddarcy What about the local arrays mentioned in my comment above
> The arrays at L.2257-2262 could be declared `static` and `@Stable` as well, and moved outside the method.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26341#issuecomment-3084966250
More information about the core-libs-dev
mailing list