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

Documentation for Vector API zero methods

    XMLWordPrintable

Details

    • CSR
    • Resolution: Approved
    • P3
    • 16
    • hotspot
    • None
    • behavioral
    • minimal
    • Java API
    • JDK

    Description

      Summary

      The Vector API is missing documentation for zero methods accepting a species on IntVector and all other specializations.

      Specification

      Specification on DoubleVector:

      /**
       * Returns a vector of the given species
       * where all lane elements are set to
       * zero, the default primitive value.
       *
       * @param species species of the desired zero vector
       * @return a zero vector
       */
      public static DoubleVector zero(VectorSpecies<Double> species)

      Same applies to ByteVector, ShortVector, IntVector, LongVector, and FloatVector.

      Attachments

        Issue Links

          Activity

            People

              psandoz Paul Sandoz
              psandoz Paul Sandoz
              Vladimir Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: