< prev index next >
src/jdk.incubator.vector/share/classes/jdk/incubator/vector/FloatVector.java
Print this page
rev 56969 : Javadoc corrections
@@ -509,11 +509,11 @@
* the primitive value {@code e}
* @throws IllegalArgumentException
* if the given {@code long} value cannot
* be represented by the vector's {@code ETYPE}
* @see #broadcast(VectorSpecies,float)
- * @see VectorSpecies#checkValue(VectorSpecies,float)
+ * @see VectorSpecies#checkValue(VectorSpecies,long)
*/
public static FloatVector broadcast(VectorSpecies<Float> species, long e) {
FloatSpecies vsp = (FloatSpecies) species;
return vsp.broadcast(e);
}
@@ -1345,11 +1345,10 @@
public final FloatVector div(float e) {
return lanewise(DIV, e);
}
/**
- /**
* {@inheritDoc} <!--workaround-->
* @see #div(float,VectorMask)
* <p> Because the underlying scalar operator is an IEEE
* floating point number, division by zero in fact will
* not throw an exception, but will yield a signed
@@ -1716,11 +1715,11 @@
* @return the mask result of testing lane-wise if this vector
* compares to the input, according to the selected
* comparison operator
* @see FloatVector#compare(VectorOperators.Comparison,Vector)
* @see #eq(float)
- * @see #lessThan(float)
+ * @see #lt(float)
*/
public abstract
VectorMask<Float> compare(Comparison op, float e);
/*package-private*/
@@ -2555,11 +2554,12 @@
* @param m the mask controlling lane selection
* @return a vector loaded from a byte array
* @throws IndexOutOfBoundsException
* if {@code offset+N*ESIZE < 0}
* or {@code offset+(N+1)*ESIZE > a.length}
- * for any lane {@code N} in the vector
+ * for any lane {@code N} in the vector where
+ * the mask is set
*/
@ForceInline
public static
FloatVector fromByteArray(VectorSpecies<Float> species,
byte[] a, int offset,
@@ -2788,11 +2788,11 @@
* @return a vector loaded from a byte buffer
* @throws IllegalArgumentException if byte order of bb
* is not {@link ByteOrder#LITTLE_ENDIAN}
* @throws IndexOutOfBoundsException
* if {@code offset+N*4 < 0}
- * or {@code offset+N**4 >= bb.limit()}
+ * or {@code offset+N*4 >= bb.limit()}
* for any lane {@code N} in the vector
*/
@ForceInline
public static
FloatVector fromByteBuffer(VectorSpecies<Float> species,
@@ -2834,11 +2834,11 @@
* @return a vector loaded from a byte buffer
* @throws IllegalArgumentException if byte order of bb
* is not {@link ByteOrder#LITTLE_ENDIAN}
* @throws IndexOutOfBoundsException
* if {@code offset+N*4 < 0}
- * or {@code offset+N**4 >= bb.limit()}
+ * or {@code offset+N*4 >= bb.limit()}
* for any lane {@code N} in the vector
* where the mask is set
*/
@ForceInline
public static
< prev index next >