Integrated: 8360558: Use hex literals instead of decimal literals in math intrinsic constants

Mohamed Issa missa at openjdk.org
Tue Sep 30 21:13:39 UTC 2025


On Thu, 25 Sep 2025 19:26:34 GMT, Mohamed Issa <missa at openjdk.org> wrote:

> A simple change to use hex literals instead of decimal literals in the constant arrays of the x86 cbrt and tanh stubs. The JTREG tests listed below were used to verify correctness. The baseline build used is [OpenJDK v26-b17](https://github.com/openjdk/jdk/releases/tag/jdk-26%2B17).
> 
> 1. `jtreg:test/jdk/java/lang/Math/CubeRootTests.java`
> 2. `jtreg:test/jdk/java/lang/Math/HyperbolicTests.java`

This pull request has now been integrated.

Changeset: 9b02896b
Author:    Mohamed Issa <missa at openjdk.org>
Committer: Srinivas Vamsi Parasa <sparasa at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9b02896b4725ef932a23be11ff76ce04bda0d652
Stats:     272 lines in 2 files changed: 0 ins; 0 del; 272 mod

8360558: Use hex literals instead of decimal literals in math intrinsic constants

Reviewed-by: mhaessig, sparasa, jbhateja

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

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


More information about the hotspot-compiler-dev mailing list