Change Float16.shortValue to do a one-step conversion with `short` without an 
intermediate stop through `int`.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - JDK-8397847: Update semantics of Float16.shortValue

Changes: https://git.openjdk.org/jdk/pull/33980/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33980&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8397847
  Stats: 52 lines in 2 files changed: 48 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/33980.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33980/head:pull/33980

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

Reply via email to