RFR: 8368985: Small Float16 refactorings

Francesco Andreuzzi fandreuzzi at openjdk.org
Wed Oct 1 08:11:58 UTC 2025


On Wed, 1 Oct 2025 04:29:56 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> A few more small cleanups to Float16 and its tests.

test/jdk/jdk/incubator/vector/BasicFloat16ArithTests.java line 411:

> 409:             float arg =      testCase[0];
> 410:             float expected = testCase[1];
> 411:             float result =  (float)getExponent(valueOfExact(arg));

Suggestion:

            float result = (float) getExponent(valueOfExact(arg));

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27587#discussion_r2393785761


More information about the core-libs-dev mailing list