Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8342567

Add Float16 to jdk.incubator.vector

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 24
    • core-libs
    • None
    • minimal
    • Adding new type to an incubating module.
    • Java API
    • JDK

      Summary

      Add Float16 to jdk.incubator.vector.

      Problem

      IEEE 754 defines a 16-bit "float16" binary floating-point format. This smaller format is useful in various ML and AI settings and has some degree of hardware support in various processor lines.

      Solution

      Includes a Float16 class as part of the incubating Vector API to facilitate greater usage of this type.

      The design of this type is analogous to java.lang.{Float, Double} with the addition of methods for various arithmetic operators.

      Specification

      See attached pdf.

        1. Float16-2024-10-22.pdf
          178 kB
          Joe Darcy
        2. Float16-2024-11-11.pdf
          194 kB
          Joe Darcy
        3. Float16-2024-11-12.pdf
          194 kB
          Joe Darcy

            darcy Joe Darcy
            darcy Joe Darcy
            Brian Burkhalter, Paul Sandoz, Raffaello Giulietti
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: