The existing noDoubleRoundingToFloat16 check doesn't take into account the exponent / significand interaction of subnormals so only normal-range values are eligible to go through the existing fast-path.
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - JDK-8394644: Float16.valueOf(String) rounding incorrect near subnormal midpoints Changes: https://git.openjdk.org/jdk/pull/33392/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33392&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8394644 Stats: 13 lines in 2 files changed: 11 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/33392.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33392/head:pull/33392 PR: https://git.openjdk.org/jdk/pull/33392
